Replace calls to abort() with calls to internal_error().
[deliverable/binutils-gdb.git] / gdb / remote-e7000.c
index b81df8a6c59180b835012fa360f7f70df791550b..904ce1f4e54c19428c3fe195ee7c629ecf1669e3 100644 (file)
 #include "gdbarch.h"
 #include "inferior.h"
 #include "target.h"
-#include "gdb_wait.h"
 #include "value.h"
 #include "command.h"
-#include <signal.h>
 #include "gdb_string.h"
 #include "gdbcmd.h"
 #include <sys/types.h>
@@ -889,7 +887,7 @@ fetch_regs_from_dump (int (*nextchar) (), char *want)
                }
 
              else
-               abort ();
+               internal_error (__FILE__, __LINE__, "failed internal consistency check");
            }
          store_signed_integer (buf,
                                REGISTER_RAW_SIZE (regno),
@@ -2119,7 +2117,7 @@ e7000_wait (int pid, struct target_waitstatus *status)
       break;
     default:
       /* Get the user's attention - this should never happen. */
-      abort ();
+      internal_error (__FILE__, __LINE__, "failed internal consistency check");
     }
 
   return 0;
This page took 0.026275 seconds and 4 git commands to generate.