aboutsummaryrefslogtreecommitdiff
path: root/gdb/monitor.c
diff options
context:
space:
mode:
authorKevin Buettner <kevinb@redhat.com>2001-02-25 04:45:12 +0000
committerKevin Buettner <kevinb@redhat.com>2001-02-25 04:45:12 +0000
commite1e9e218c189882084a89fdee655a0a523efbaf8 (patch)
treefa2a2747358d3ab7ba66773aa0ea0e95064841b6 /gdb/monitor.c
parentd95767bf85efeb27aa791b01d4a8534bcff15a8e (diff)
downloadgdb-e1e9e218c189882084a89fdee655a0a523efbaf8.zip
gdb-e1e9e218c189882084a89fdee655a0a523efbaf8.tar.gz
gdb-e1e9e218c189882084a89fdee655a0a523efbaf8.tar.bz2
Replace calls to abort() with calls to internal_error().
Diffstat (limited to 'gdb/monitor.c')
-rw-r--r--gdb/monitor.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/monitor.c b/gdb/monitor.c
index e70283d..7e3580e 100644
--- a/gdb/monitor.c
+++ b/gdb/monitor.c
@@ -335,7 +335,7 @@ monitor_printf_noecho (char *pattern,...)
len = strlen (sndbuf);
if (len + 1 > sizeof sndbuf)
- abort ();
+ internal_error (__FILE__, __LINE__, "failed internal consistency check");
if (monitor_debug_p)
{
@@ -363,7 +363,7 @@ monitor_printf (char *pattern,...)
len = strlen (sndbuf);
if (len + 1 > sizeof sndbuf)
- abort ();
+ internal_error (__FILE__, __LINE__, "failed internal consistency check");
if (monitor_debug_p)
{
@@ -1286,7 +1286,7 @@ monitor_dump_regs (void)
parse_register_dump (buf, resp_len);
}
else
- abort (); /* Need some way to read registers */
+ internal_error (__FILE__, __LINE__, "failed internal consistency check"); /* Need some way to read registers */
}
static void