diff options
author | Kevin Buettner <kevinb@redhat.com> | 2001-02-25 04:45:12 +0000 |
---|---|---|
committer | Kevin Buettner <kevinb@redhat.com> | 2001-02-25 04:45:12 +0000 |
commit | e1e9e218c189882084a89fdee655a0a523efbaf8 (patch) | |
tree | fa2a2747358d3ab7ba66773aa0ea0e95064841b6 /gdb/printcmd.c | |
parent | d95767bf85efeb27aa791b01d4a8534bcff15a8e (diff) | |
download | gdb-e1e9e218c189882084a89fdee655a0a523efbaf8.zip gdb-e1e9e218c189882084a89fdee655a0a523efbaf8.tar.gz gdb-e1e9e218c189882084a89fdee655a0a523efbaf8.tar.bz2 |
Replace calls to abort() with calls to internal_error().
Diffstat (limited to 'gdb/printcmd.c')
-rw-r--r-- | gdb/printcmd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/printcmd.c b/gdb/printcmd.c index c57bf82..8c14077 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". */ |