diff options
author | Andrew Cagney <cagney@redhat.com> | 2001-11-02 21:46:52 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2001-11-02 21:46:52 +0000 |
commit | a185da292135c77befa00119cd6ffbbcc0af3e93 (patch) | |
tree | dab2131f1d5c7c8d2be9735e532cf23fdc9b0dd2 /gdb/utils.c | |
parent | 271d13f077ed3f0f9da4075541025c6b247d083d (diff) | |
download | gdb-a185da292135c77befa00119cd6ffbbcc0af3e93.tar.gz |
* utils.c (internal_verror): Restore calls to abort().
Fix PR gdb/219.
Diffstat (limited to 'gdb/utils.c')
-rw-r--r-- | gdb/utils.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/utils.c b/gdb/utils.c index d32957f7019..e27380ab2de 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); } |