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/config/mn10200 | |
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/config/mn10200')
-rw-r--r-- | gdb/config/mn10200/tm-mn10200.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/config/mn10200/tm-mn10200.h b/gdb/config/mn10200/tm-mn10200.h index 5c26a00..d7cc939 100644 --- a/gdb/config/mn10200/tm-mn10200.h +++ b/gdb/config/mn10200/tm-mn10200.h @@ -122,7 +122,7 @@ extern CORE_ADDR mn10200_frame_saved_pc (struct frame_info *); #define EXTRACT_RETURN_VALUE(TYPE, REGBUF, VALBUF) \ { \ if (TYPE_LENGTH (TYPE) > 8) \ - abort (); \ + internal_error (__FILE__, __LINE__, "failed internal consistency check"); \ else if (TYPE_LENGTH (TYPE) > 2 && TYPE_CODE (TYPE) != TYPE_CODE_PTR) \ { \ memcpy (VALBUF, REGBUF + REGISTER_BYTE (0), 2); \ @@ -145,7 +145,7 @@ extern CORE_ADDR mn10200_frame_saved_pc (struct frame_info *); #define STORE_RETURN_VALUE(TYPE, VALBUF) \ { \ if (TYPE_LENGTH (TYPE) > 8) \ - abort (); \ + internal_error (__FILE__, __LINE__, "failed internal consistency check"); \ else if (TYPE_LENGTH (TYPE) > 2 && TYPE_CODE (TYPE) != TYPE_CODE_PTR) \ { \ write_register_bytes (REGISTER_BYTE (0), VALBUF, 2); \ |