import gdb-1999-06-14 snapshot
[deliverable/binutils-gdb.git] / gdb / breakpoint.c
index b73305ad19c16d40d18479b6f431e31dea61f3af..11caae0d07702f2f7b98234c73e2bd70d62cc27a 100644 (file)
@@ -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;
This page took 0.023163 seconds and 4 git commands to generate.