]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
* utils.c (internal_verror): Restore calls to abort().
authorAndrew Cagney <cagney@redhat.com>
Fri, 2 Nov 2001 22:06:29 +0000 (22:06 +0000)
committerAndrew Cagney <cagney@redhat.com>
Fri, 2 Nov 2001 22:06:29 +0000 (22:06 +0000)
Fix PR gdb/219.

gdb/ChangeLog
gdb/utils.c

index 3bc160957d299863f7df863364d8c5cedb6895bb..86a88386d8c0f138e32902011e6963865338f811 100644 (file)
@@ -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  Andrew Cagney  <ac131313@redhat.com>
 
        * README: Mention problem with alpha-dec-osf5.1.
index 82d010beb794ac79d25e0bac58894d1d80455b25..5a958ad20122014f5b1f3628e3d0d53769f5b861 100644 (file)
@@ -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);
     }