summaryrefslogtreecommitdiff
path: root/gdb/buildsym.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/buildsym.c
parentd95767bf85efeb27aa791b01d4a8534bcff15a8e (diff)
downloadbinutils-gdb-e1e9e218c189882084a89fdee655a0a523efbaf8.tar.gz
Replace calls to abort() with calls to internal_error().
Diffstat (limited to 'gdb/buildsym.c')
-rw-r--r--gdb/buildsym.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/buildsym.c b/gdb/buildsym.c
index 24ef12a7083..4195dfc712d 100644
--- a/gdb/buildsym.c
+++ b/gdb/buildsym.c
@@ -667,7 +667,7 @@ push_subfile (void)
subfile_stack = tem;
if (current_subfile == NULL || current_subfile->name == NULL)
{
- abort ();
+ internal_error (__FILE__, __LINE__, "failed internal consistency check");
}
tem->name = current_subfile->name;
}
@@ -680,7 +680,7 @@ pop_subfile (void)
if (link == NULL)
{
- abort ();
+ internal_error (__FILE__, __LINE__, "failed internal consistency check");
}
name = link->name;
subfile_stack = link->next;