import gdb-1999-06-14 snapshot
[deliverable/binutils-gdb.git] / gdb / breakpoint.c
index d410a5775244606b3fcdd3c8a1bf6fcb431d5b51..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;
@@ -2713,6 +2719,7 @@ breakpoint_1 (bnum, allflag)
   static char bpenables[] = "nyn";
   char wrap_indent[80];
 
+
   ALL_BREAKPOINTS (b)
     if (bnum == -1
        || bnum == b->number)
This page took 0.023162 seconds and 4 git commands to generate.