* breakpoint.c (insert_catchpoint): Call internal_error.
authorDaniel Jacobowitz <drow@false.org>
Thu, 19 Jun 2003 20:02:41 +0000 (20:02 +0000)
committerDaniel Jacobowitz <drow@false.org>
Thu, 19 Jun 2003 20:02:41 +0000 (20:02 +0000)
gdb/ChangeLog
gdb/breakpoint.c

index 85f415e15398494119db4dc358791f66f73d1172..b235fa2314e79f6e409d991a4ae96b623609c33c 100644 (file)
@@ -1,3 +1,7 @@
+2003-06-19  Daniel Jacobowitz  <drow@mvista.com>
+
+       * breakpoint.c (insert_catchpoint): Call internal_error.
+
 2003-06-19  Theodore A. Roth  <troth@openavr.org>
 
        * avr-tdep.c (avr_push_dummy_code): Delete function.
index d8682256ceacb17eecc2ddb3ec537ae25d38247e..2980d4d4e2f7362c5b70b3efa64a6d9ba211bd62 100644 (file)
@@ -722,7 +722,7 @@ insert_catchpoint (struct ui_out *uo, void *args)
       val = target_insert_exec_catchpoint (PIDGET (inferior_ptid));
       break;
     default:
-      warning ("Internal error, %s line %d.", __FILE__, __LINE__);
+      internal_error (__FILE__, __LINE__, "unknown breakpoint type");
       break;
     }