aboutsummaryrefslogtreecommitdiff
path: root/gdb/language.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/language.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/language.c')
-rw-r--r--gdb/language.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/language.c b/gdb/language.c
index eedec98..f224b95 100644
--- a/gdb/language.c
+++ b/gdb/language.c
@@ -571,7 +571,7 @@ binop_result_type (value_ptr v1, value_ptr v2)
case language_chill:
error ("Missing Chill support in function binop_result_check."); /*FIXME */
}
- abort ();
+ internal_error (__FILE__, __LINE__, "failed internal consistency check");
return (struct type *) 0; /* For lint */
}
@@ -1384,7 +1384,7 @@ add_language (const struct language_defn *lang)
{
fprintf_unfiltered (gdb_stderr, "Magic number of %s language struct wrong\n",
lang->la_name);
- abort ();
+ internal_error (__FILE__, __LINE__, "failed internal consistency check");
}
if (!languages)