Replace calls to abort() with calls to internal_error().
[deliverable/binutils-gdb.git] / gdb / exec.c
index 29da0cc01001945d8795195683b53efd8b8321b1..639f56f1349ec22864579ccc0677014ddd1c63e6 100644 (file)
@@ -398,7 +398,7 @@ build_section_table (bfd *some_bfd, struct section_table **start,
   *end = *start;
   bfd_map_over_sections (some_bfd, add_to_section_table, (char *) end);
   if (*end > *start + count)
-    abort ();
+    internal_error (__FILE__, __LINE__, "failed internal consistency check");
   /* We could realloc the table, but it probably loses for most files.  */
   return 0;
 }
@@ -488,7 +488,7 @@ xfer_memory (CORE_ADDR memaddr, char *myaddr, int len, int write,
   asection *section;
 
   if (len <= 0)
-    abort ();
+    internal_error (__FILE__, __LINE__, "failed internal consistency check");
 
   if (overlay_debugging)
     {
This page took 0.024208 seconds and 4 git commands to generate.