aboutsummaryrefslogtreecommitdiff
path: root/gdb/symtab.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/symtab.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/symtab.c')
-rw-r--r--gdb/symtab.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/symtab.c b/gdb/symtab.c
index 76c2a94..88155b0 100644
--- a/gdb/symtab.c
+++ b/gdb/symtab.c
@@ -998,7 +998,7 @@ lookup_partial_symbol (struct partial_symtab *pst, const char *name, int global,
{
center = bottom + (top - bottom) / 2;
if (!(center < top))
- abort ();
+ internal_error (__FILE__, __LINE__, "failed internal consistency check");
if (!do_linear_search
&& (SYMBOL_LANGUAGE (*center) == language_java))
{
@@ -1014,7 +1014,7 @@ lookup_partial_symbol (struct partial_symtab *pst, const char *name, int global,
}
}
if (!(top == bottom))
- abort ();
+ internal_error (__FILE__, __LINE__, "failed internal consistency check");
/* djb - 2000-06-03 - Use SYMBOL_MATCHES_NAME, not a strcmp, so
we don't have to force a linear search on C++. Probably holds true