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 | |
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')
-rw-r--r-- | gdb/config/h8500/tm-h8500.h | 2 | ||||
-rw-r--r-- | gdb/config/mn10200/tm-mn10200.h | 4 | ||||
-rw-r--r-- | gdb/config/ns32k/nm-umax.h | 2 | ||||
-rw-r--r-- | gdb/config/ns32k/xm-merlin.h | 2 | ||||
-rw-r--r-- | gdb/config/z8k/tm-z8k.h | 4 |
5 files changed, 7 insertions, 7 deletions
diff --git a/gdb/config/h8500/tm-h8500.h b/gdb/config/h8500/tm-h8500.h index 00eb218..8a47cf9 100644 --- a/gdb/config/h8500/tm-h8500.h +++ b/gdb/config/h8500/tm-h8500.h @@ -159,7 +159,7 @@ extern struct type *h8500_register_virtual_type (int regno); subroutine will return. This is called from call_function. */ /*#define STORE_STRUCT_RETURN(ADDR, SP) \ - { write_register (0, (ADDR)); abort(); } */ + { write_register (0, (ADDR)); internal_error (__FILE__, __LINE__, "failed internal consistency check"); } */ /* Extract from an array REGBUF containing the (raw) register state a function return value of type TYPE, and copy that, in virtual format, 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); \ diff --git a/gdb/config/ns32k/nm-umax.h b/gdb/config/ns32k/nm-umax.h index 76f0c41..5c02831 100644 --- a/gdb/config/ns32k/nm-umax.h +++ b/gdb/config/ns32k/nm-umax.h @@ -50,6 +50,6 @@ addr = PU_F0 + (regno - LP0_REGNUM) * sizeof (double); break; \ default: \ printf ("bad argument to REGISTER_U_ADDR %d\n", regno); \ - abort (); \ + internal_error (__FILE__, __LINE__, "failed internal consistency check"); \ } \ } diff --git a/gdb/config/ns32k/xm-merlin.h b/gdb/config/ns32k/xm-merlin.h index 83a810c..6664d8c 100644 --- a/gdb/config/ns32k/xm-merlin.h +++ b/gdb/config/ns32k/xm-merlin.h @@ -61,6 +61,6 @@ addr = 76 + (regno - LP0_REGNUM) * sizeof (double); break; \ default: \ printf ("bad argument to REGISTER_U_ADDR %d\n", regno); \ - abort (); \ + internal_error (__FILE__, __LINE__, "failed internal consistency check"); \ } \ } diff --git a/gdb/config/z8k/tm-z8k.h b/gdb/config/z8k/tm-z8k.h index 544dea5..bd4bac5 100644 --- a/gdb/config/z8k/tm-z8k.h +++ b/gdb/config/z8k/tm-z8k.h @@ -138,7 +138,7 @@ extern int z8k_saved_pc_after_call (struct frame_info *frame); /* Store the address of the place in which to copy the structure the subroutine will return. This is called from call_function. */ -#define STORE_STRUCT_RETURN(ADDR, SP) abort(); +#define STORE_STRUCT_RETURN(ADDR, SP) internal_error (__FILE__, __LINE__, "failed internal consistency check"); /* Extract from an array REGBUF containing the (raw) register state a function return value of type TYPE, and copy that, in virtual format, @@ -152,7 +152,7 @@ extern int z8k_saved_pc_after_call (struct frame_info *frame); /* Write into appropriate registers a function return value of type TYPE, given in virtual format. */ -#define STORE_RETURN_VALUE(TYPE,VALBUF) abort(); +#define STORE_RETURN_VALUE(TYPE,VALBUF) internal_error (__FILE__, __LINE__, "failed internal consistency check"); /* Extract from an array REGBUF containing the (raw) register state the address in which a function should return its structure value, |