I have gdb 7.3 and a device that supports hardware watchpoints.
I type the following 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 was the hardware monitoring point not accepted after the first command? What's wrong?
source share