* 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 85f415e..b235fa2 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 d868225..2980d4d 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;
     }