summaryrefslogtreecommitdiff
path: root/gdb/printcmd.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/printcmd.c
parent1d2f1f8ee1fc401ade25305b81d0aa99e702ad55 (diff)
downloadgdb-efa817325f1856795e81956974c4bc9573ce8a88.tar.gz
Replace calls to abort() with calls to internal_error().
Diffstat (limited to 'gdb/printcmd.c')
-rw-r--r--gdb/printcmd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/printcmd.c b/gdb/printcmd.c
index c57bf8218ab..8c14077e16d 100644
--- a/gdb/printcmd.c
+++ b/gdb/printcmd.c
@@ -249,7 +249,7 @@ decode_format (char **string_ptr, int oformat, int osize)
val.size = osize ? 'h' : osize;
else
/* Bad value for TARGET_PTR_BIT */
- abort ();
+ internal_error (__FILE__, __LINE__, "failed internal consistency check");
break;
case 'f':
/* Floating point has to be word or giantword. */
@@ -456,7 +456,7 @@ print_scalar_formatted (char *valaddr, struct type *type, int format, int size,
break;
case 0:
- abort ();
+ internal_error (__FILE__, __LINE__, "failed internal consistency check");
case 't':
/* Binary; 't' stands for "two". */