aboutsummaryrefslogtreecommitdiff
path: root/gdb/breakpoint.c
diff options
context:
space:
mode:
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;
}