summaryrefslogtreecommitdiff
path: root/gdb/valprint.c
diff options
context:
space:
mode:
authorKevin Buettner <kevinb@redhat.com>2001-02-25 04:45:12 +0000
committerKevin Buettner <kevinb@redhat.com>2001-02-25 04:45:12 +0000
commitefa817325f1856795e81956974c4bc9573ce8a88 (patch)
tree404ed531abfdeaa835681f8d60fca90fca9eb9d3 /gdb/valprint.c
parent1d2f1f8ee1fc401ade25305b81d0aa99e702ad55 (diff)
downloadgdb-efa817325f1856795e81956974c4bc9573ce8a88.tar.gz
Replace calls to abort() with calls to internal_error().
Diffstat (limited to 'gdb/valprint.c')
-rw-r--r--gdb/valprint.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/gdb/valprint.c b/gdb/valprint.c
index 84103c65cb0..71c4c9e7ec0 100644
--- a/gdb/valprint.c
+++ b/gdb/valprint.c
@@ -257,7 +257,7 @@ print_decimal (struct ui_file *stream, char *sign, int use_local,
sign, temp[2], temp[1], temp[0]);
break;
default:
- abort ();
+ internal_error (__FILE__, __LINE__, "failed internal consistency check");
}
return;
}
@@ -360,7 +360,7 @@ print_longest (struct ui_file *stream, int format, int use_local,
fprintf_filtered (stream, local_hex_format_custom ("016ll"), val_long);
break;
default:
- abort ();
+ internal_error (__FILE__, __LINE__, "failed internal consistency check");
}
#else /* !CC_HAS_LONG_LONG || !PRINTF_HAS_LONG_LONG */
/* In the following it is important to coerce (val_long) to a long. It does
@@ -407,7 +407,7 @@ print_longest (struct ui_file *stream, int format, int use_local,
(unsigned long) val_long);
break;
default:
- abort ();
+ internal_error (__FILE__, __LINE__, "failed internal consistency check");
}
#endif /* CC_HAS_LONG_LONG || PRINTF_HAS_LONG_LONG */
}
@@ -467,7 +467,7 @@ strcat_longest (int format, int use_local, LONGEST val_long, char *buf,
sprintf (buf, local_hex_format_custom ("016ll"), val_long);
break;
default:
- abort ();
+ internal_error (__FILE__, __LINE__, "failed internal consistency check");
}
#else /* !PRINTF_HAS_LONG_LONG */
/* In the following it is important to coerce (val_long) to a long. It does
@@ -508,7 +508,7 @@ strcat_longest (int format, int use_local, LONGEST val_long, char *buf,
((long) val_long));
break;
default:
- abort ();
+ internal_error (__FILE__, __LINE__, "failed internal consistency check");
}
#endif /* !PRINTF_HAS_LONG_LONG */