Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7974641
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T08:25:58+00:00 2026-06-04T08:25:58+00:00

I have gdb 7.3 and device that supports hardware watchpoints. I type such consequent

  • 0

I have gdb 7.3 and device that supports hardware watchpoints.

I type such consequent commands:

Breakpoint 1, 0x000db808 in ?? ()
(gdb) info break     
Num     Type           Disp Enb Address    What
1       breakpoint     keep y   0x000db808 
    breakpoint already hit 1 time
(gdb) watch *0x15588a
Watchpoint 2: *0x15588a
(gdb) watch *0x1557f8
Hardware watchpoint 3: *0x1557f8
(gdb) info break
Num     Type           Disp Enb Address    What
1       breakpoint     keep y   0x000db808 
    breakpoint already hit 1 time
2       watchpoint     keep y              *0x15588a
3       hw watchpoint  keep y              *0x1557f8
(gdb)

Why wasn’t hardware watchpoint accepted after the first command?
What is wrong?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T08:26:00+00:00Added an answer on June 4, 2026 at 8:26 am

    Why wasn’t hardware watchpoint accepted after the first command?

    You didn’t tell us what processor you are using.

    I am guessing that your processor does not support hardware watchpoints for addresses that are not aligned on 4-byte boundary.

    GDB can’t set a hardware watchpoint on an address if your hardware doesn’t support such watchpoints.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm outside gdb's target executable and I don't even have a stack that corresponds
I have a gdb backtrace on it that yields this: #0 match_at (reg=0xcce4a00, str=0xd47b101
We have installed GDB on AIX 6.1 (gdb-6.0-1.aix5.1.ppc_AIX.rpm) and I notice that there is
I have a C++ Android application that I'm trying to debug with ndk-gdb. The
I have code similar to the following that interacts with gdb from Java. I
I have a program that I'd like to debug with gdb via emacs. In
I have looked through GDB documentation, but haven't found anything that works or shows
Through GDB I have determined that the segfault is occuring somewhere in this block
I have run gdb, as my code show segfault. I understand that the code
I have an issue where Xcode always launches my device builds through GDB. Even

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.