gdb/
authorJan Kratochvil <jan.kratochvil@redhat.com>
Sun, 21 Dec 2008 15:01:32 +0000 (15:01 +0000)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Sun, 21 Dec 2008 15:01:32 +0000 (15:01 +0000)
commitdb2ad4c3f7d0c035ad9e38e312d0cf24a906f701
treea3804fa9899e7b0d9a4206f9bcd759d135401d5e
parent22e8c8e0c1d95681c1e4b869b1c84a872d5d5077
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.
gdb/ChangeLog
gdb/breakpoint.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/watchpoint-hw.c [new file with mode: 0644]
gdb/testsuite/gdb.base/watchpoint-hw.exp [new file with mode: 0644]