diff options
author | Andrew Cagney <cagney@redhat.com> | 2001-11-02 22:06:29 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2001-11-02 22:06:29 +0000 |
commit | 25a24eb8726c5a8fdbc4a8c1fd116dabfa1eba23 (patch) | |
tree | 672765267be715b0346d4c0ae97d21eedb08287a | |
parent | d6f78a0173e8dae1c85bee72de4d8c91434f843f (diff) | |
download | gdb-25a24eb8726c5a8fdbc4a8c1fd116dabfa1eba23.zip gdb-25a24eb8726c5a8fdbc4a8c1fd116dabfa1eba23.tar.gz gdb-25a24eb8726c5a8fdbc4a8c1fd116dabfa1eba23.tar.bz2 |
* utils.c (internal_verror): Restore calls to abort().
Fix PR gdb/219.
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/utils.c | 6 |
2 files changed, 8 insertions, 3 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 3bc1609..86a8838 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,10 @@ 2001-11-02 Andrew Cagney <ac131313@redhat.com> + * utils.c (internal_verror): Restore calls to abort(). + Fix PR gdb/219. + +2001-11-02 Andrew Cagney <ac131313@redhat.com> + * README: Mention problem with alpha-dec-osf5.1. 2001-11-02 Michael Chastain <mec@shout.net> diff --git a/gdb/utils.c b/gdb/utils.c index 82d010b..5a958ad 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); } |