aboutsummaryrefslogtreecommitdiff
path: root/gdb/breakpoint.c
diff options
context:
space:
mode:
authorJason Molenda <jmolenda@apple.com>1999-06-01 15:44:41 +0000
committerJason Molenda <jmolenda@apple.com>1999-06-01 15:44:41 +0000
commitac9a91a77ce5ce484bf8f62582292ef1f5b4dcf3 (patch)
tree00ebb9456083a2ad26b6a4e64c40b9b28f570ef4 /gdb/breakpoint.c
parentaa903cfb1b8b2b9d5d5d23364cbf0a31b7c8d29a (diff)
downloadgdb-ac9a91a77ce5ce484bf8f62582292ef1f5b4dcf3.zip
gdb-ac9a91a77ce5ce484bf8f62582292ef1f5b4dcf3.tar.gz
gdb-ac9a91a77ce5ce484bf8f62582292ef1f5b4dcf3.tar.bz2
import gdb-1999-06-01 snapshot
Diffstat (limited to 'gdb/breakpoint.c')
-rw-r--r--gdb/breakpoint.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c
index b73305a..11caae0 100644
--- a/gdb/breakpoint.c
+++ b/gdb/breakpoint.c
@@ -877,6 +877,9 @@ which its expression is valid.\n", b->number);
case bp_catch_exec :
val = target_insert_exec_catchpoint (inferior_pid);
break;
+ default:
+ warning ("GDB bug: breakpoint.c (insert_breakpoints): enclosing `if' does not protect `switch'");
+ break;
}
if (val < 0)
{
@@ -1191,6 +1194,9 @@ remove_breakpoint (b, is)
case bp_catch_exec :
val = target_remove_exec_catchpoint (inferior_pid);
break;
+ default:
+ warning ("GDB bug: breakpoint.c (remove_breakpoint): enclosing `if' does not protect `switch'");
+ break;
}
if (val)
return val;