aboutsummaryrefslogtreecommitdiff
path: root/gdb/breakpoint.c
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 /gdb/breakpoint.c
parentadcf68a2d64e0f5f199fd4ac30c7be99b37b033e (diff)
downloadgdb-1171114a94363af05f5b8489a2437e3ec5cc0528.zip
gdb-1171114a94363af05f5b8489a2437e3ec5cc0528.tar.gz
gdb-1171114a94363af05f5b8489a2437e3ec5cc0528.tar.bz2
* breakpoint.c (insert_catchpoint): Call internal_error.
Diffstat (limited to 'gdb/breakpoint.c')
-rw-r--r--gdb/breakpoint.c2
1 files changed, 1 insertions, 1 deletions
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;
}