gdb/
Fix hw watchpoints created before the inferior was started. * breakpoint.c (update_watchpoint): Convert the bp_watchpoint and bp_hardware_watchpoint types according to the current runtime state. gdb/testsuite/ * gdb.base/watchpoint-hw.exp, gdb.base/watchpoint-hw.c: New.
Showing
- gdb/ChangeLog 6 additions, 0 deletionsgdb/ChangeLog
- gdb/breakpoint.c 21 additions, 0 deletionsgdb/breakpoint.c
- gdb/testsuite/ChangeLog 4 additions, 0 deletionsgdb/testsuite/ChangeLog
- gdb/testsuite/gdb.base/watchpoint-hw.c 27 additions, 0 deletionsgdb/testsuite/gdb.base/watchpoint-hw.c
- gdb/testsuite/gdb.base/watchpoint-hw.exp 52 additions, 0 deletionsgdb/testsuite/gdb.base/watchpoint-hw.exp
Loading
Please register or sign in to comment