aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2001-11-02 21:46:52 +0000
committerAndrew Cagney <cagney@redhat.com>2001-11-02 21:46:52 +0000
commit5c7dd74823fae63ce0c34d6260e25b0587e2ae7e (patch)
tree1621babb27c7738a3b63ec12f1b520aad39400e5 /gdb
parentd918dd357ccf5bf69514652f3eb7a3de030ef2f8 (diff)
downloadgdb-5c7dd74823fae63ce0c34d6260e25b0587e2ae7e.zip
gdb-5c7dd74823fae63ce0c34d6260e25b0587e2ae7e.tar.gz
gdb-5c7dd74823fae63ce0c34d6260e25b0587e2ae7e.tar.bz2
* utils.c (internal_verror): Restore calls to abort().
Fix PR gdb/219.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/utils.c6
2 files changed, 8 insertions, 3 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index ff8c805..6c5cd24 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2001-11-02 Andrew Cagney <ac131313@redhat.com>
+
+ * utils.c (internal_verror): Restore calls to abort().
+ Fix PR gdb/219.
+
2001-11-02 Michael Chastain <mec@shout.net>
* MAINTAINERS: Update my entry.
diff --git a/gdb/utils.c b/gdb/utils.c
index d32957f..e27380a 100644
--- a/gdb/utils.c
+++ b/gdb/utils.c
@@ -702,7 +702,7 @@ internal_verror (const char *file, int line,
case 1:
dejavu = 2;
fputs_unfiltered (msg, gdb_stderr);
- internal_error (__FILE__, __LINE__, "failed internal consistency check");
+ abort (); /* NOTE: GDB has only three calls to abort(). */
default:
dejavu = 3;
write (STDERR_FILENO, msg, sizeof (msg));
@@ -731,13 +731,13 @@ Create a core file containing the current state of GDB? ");
if (dump_core_p)
{
if (fork () == 0)
- internal_error (__FILE__, __LINE__, "failed internal consistency check");
+ abort (); /* NOTE: GDB has only three calls to abort(). */
}
}
else
{
if (dump_core_p)
- internal_error (__FILE__, __LINE__, "failed internal consistency check");
+ abort (); /* NOTE: GDB has only three calls to abort(). */
else
exit (1);
}