aboutsummaryrefslogtreecommitdiff
path: root/gdb/breakpoint.c
diff options
context:
space:
mode:
authorStu Grossman <grossman@cygnus>1996-01-05 00:42:36 +0000
committerStu Grossman <grossman@cygnus>1996-01-05 00:42:36 +0000
commit0fe1522ad05f27e4ef3528f5cf0b63c75b755fe4 (patch)
treec874e9aa1af63828135236fad7fc1e40f2c226ea /gdb/breakpoint.c
parented1f99e770af88041b29edf6c4caddceb9fb56e9 (diff)
downloadgdb-0fe1522ad05f27e4ef3528f5cf0b63c75b755fe4.zip
gdb-0fe1522ad05f27e4ef3528f5cf0b63c75b755fe4.tar.gz
gdb-0fe1522ad05f27e4ef3528f5cf0b63c75b755fe4.tar.bz2
* breakpoint.c (remove_breakpoint): Change error to warning so
that hardware watchpoint removal problems won't leave breakpoint traps in the target. * configure configure.in: Make --enable-gdbtk be the default. * remote-e7000.c (e7000_insert_breakpoint, e7000_remove_breakpoint): Use e7000 based breakpoints, not memory breakpoints. * (e7000_wait): Adjust PC back by two when we see a breakpoint to compensate for e7000 maladjustment. * sparcl-tdep.c (sparclite_check_watch_resources): Fix logic bug which prevented hardware watchpoints from working.
Diffstat (limited to 'gdb/breakpoint.c')
-rw-r--r--gdb/breakpoint.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c
index aebc62a..f2babaa 100644
--- a/gdb/breakpoint.c
+++ b/gdb/breakpoint.c
@@ -652,8 +652,8 @@ remove_breakpoint (b)
}
/* Failure to remove any of the hardware watchpoints comes here. */
if (b->inserted)
- error ("Hardware watchpoint %d: Could not remove watchpoint\n",
- b->number);
+ warning ("Hardware watchpoint %d: Could not remove watchpoint\n",
+ b->number);
/* Free the saved value chain. We will construct a new one
the next time the watchpoint is inserted. */
@@ -3427,7 +3427,7 @@ breakpoint_re_set ()
#endif
#if 0
- /* Took this out (temporaliy at least), since it produces an extra
+ /* Took this out (temporarily at least), since it produces an extra
blank line at startup. This messes up the gdbtests. -PB */
/* Blank line to finish off all those mention() messages we just printed. */
printf_filtered ("\n");