aboutsummaryrefslogtreecommitdiff
path: root/gdb/infrun.c
diff options
context:
space:
mode:
authorStan Shebs <shebs@codesourcery.com>1994-06-01 18:26:16 +0000
committerStan Shebs <shebs@codesourcery.com>1994-06-01 18:26:16 +0000
commit6d40175db077d15dfc741391bd9ea6055c292b91 (patch)
treebd2ecbe8335188b2073a5c119eacb4db3fb7ea8f /gdb/infrun.c
parent0221ddf71a94b3e82912adf9bc4a2f2e27761768 (diff)
downloadfsf-binutils-gdb-6d40175db077d15dfc741391bd9ea6055c292b91.zip
fsf-binutils-gdb-6d40175db077d15dfc741391bd9ea6055c292b91.tar.gz
fsf-binutils-gdb-6d40175db077d15dfc741391bd9ea6055c292b91.tar.bz2
Wed Jun 1 11:08:52 1994 Stan Shebs (shebs@andros.cygnus.com)
Hardware watchpoints for Linux, from Rick Sladkey (jrs@world.std.com). * infrun.c (wait_for_inferior) [HAVE_CONTINUABLE_WATCHPOINT]: Add new hardware breakpoint recovery method. * i386v-nat.c (i386_insert_watchpoint, i386_insert_nonaligned_watchpoint, i386_remove_watchpoint, i386_stopped_by_watchpoint) [TARGET_CAN_USE_HARWARE_WATCHPOINT]: New functions to support the 386 hardware debugging registers. * config/i386/nm-linux.h (TARGET_CAN_USE_HARDWARE_WATCHPOINT, HAVE_CONTINUABLE_WATCHPOINT, STOPPED_BY_WATCHPOINT, target_insert_watchpoint, target_remove_watchpoint): Define these macros to use the hardware debugging functions in i386v-nat.c.
Diffstat (limited to 'gdb/infrun.c')
-rw-r--r--gdb/infrun.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/infrun.c b/gdb/infrun.c
index 4c39237..08e3bfd 100644
--- a/gdb/infrun.c
+++ b/gdb/infrun.c
@@ -680,6 +680,11 @@ switch_thread:
}
#endif
+#ifdef HAVE_CONTINUABLE_WATCHPOINT
+ /* It may be possible to simply continue after a watchpoint. */
+ STOPPED_BY_WATCHPOINT (w);
+#endif
+
stop_frame_address = FRAME_FP (get_current_frame ());
stop_sp = read_sp ();
stop_func_start = 0;