aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2003-06-19 20:02:41 +0000
committerDaniel Jacobowitz <drow@false.org>2003-06-19 20:02:41 +0000
commit1171114a94363af05f5b8489a2437e3ec5cc0528 (patch)
treed0fec71900327928771a4477e55a97d23cff3936
parentadcf68a2d64e0f5f199fd4ac30c7be99b37b033e (diff)
downloadgdb-1171114a94363af05f5b8489a2437e3ec5cc0528.zip
gdb-1171114a94363af05f5b8489a2437e3ec5cc0528.tar.gz
gdb-1171114a94363af05f5b8489a2437e3ec5cc0528.tar.bz2
* breakpoint.c (insert_catchpoint): Call internal_error.
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/breakpoint.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 85f415e..b235fa2 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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.
diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c
index d868225..2980d4d4 100644
--- a/gdb/breakpoint.c
+++ b/gdb/breakpoint.c
@@ -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;
}