From 1171114a94363af05f5b8489a2437e3ec5cc0528 Mon Sep 17 00:00:00 2001 From: Daniel Jacobowitz Date: Thu, 19 Jun 2003 20:02:41 +0000 Subject: [PATCH] * breakpoint.c (insert_catchpoint): Call internal_error. --- gdb/ChangeLog | 4 ++++ gdb/breakpoint.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 85f415e1539..b235fa2314e 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2003-06-19 Daniel Jacobowitz + + * breakpoint.c (insert_catchpoint): Call internal_error. + 2003-06-19 Theodore A. Roth * avr-tdep.c (avr_push_dummy_code): Delete function. diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c index d8682256cea..2980d4d4e2f 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; } -- 2.30.2