我有 gdb 7.3 和支持硬件观察点的设备。
我键入这样的后续命令:
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)
为什么在第一个命令之后不接受硬件观察点?怎么了?