diff options
author | Andrew Cagney <cagney@redhat.com> | 1998-11-26 11:13:01 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 1998-11-26 11:13:01 +0000 |
commit | 679ce7310245be5d095510574825f4616f6075d8 (patch) | |
tree | b95c57e35f9181090765291a2fa107a8f4472406 /gdb/config/alpha | |
parent | 07137a112dc3cdf1ceafe58c3c0cdcb79ee5f3d7 (diff) | |
download | gdb-679ce7310245be5d095510574825f4616f6075d8.zip gdb-679ce7310245be5d095510574825f4616f6075d8.tar.gz gdb-679ce7310245be5d095510574825f4616f6075d8.tar.bz2 |
CARP: Delete ABOUT_TO_RETURN across all targets.
Diffstat (limited to 'gdb/config/alpha')
-rw-r--r-- | gdb/config/alpha/tm-alpha.h | 24 |
1 files changed, 9 insertions, 15 deletions
diff --git a/gdb/config/alpha/tm-alpha.h b/gdb/config/alpha/tm-alpha.h index 7cb21a4..8aaefb4 100644 --- a/gdb/config/alpha/tm-alpha.h +++ b/gdb/config/alpha/tm-alpha.h @@ -25,6 +25,13 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #include "coff/sym.h" /* Needed for PDR below. */ #include "coff/symconst.h" +#ifdef __STDC__ +struct frame_info; +struct type; +struct value; +struct symbol; +#endif + #if !defined (TARGET_BYTE_ORDER) #define TARGET_BYTE_ORDER LITTLE_ENDIAN #endif @@ -61,9 +68,6 @@ extern CORE_ADDR alpha_skip_prologue PARAMS ((CORE_ADDR addr, int lenient)); some instructions. */ #define SAVED_PC_AFTER_CALL(frame) alpha_saved_pc_after_call(frame) -#ifdef __STDC__ -struct frame_info; -#endif extern CORE_ADDR alpha_saved_pc_after_call PARAMS ((struct frame_info *)); @@ -85,11 +89,6 @@ alpha_saved_pc_after_call PARAMS ((struct frame_info *)); #define DECR_PC_AFTER_BREAK 4 #endif -/* Nonzero if instruction at PC is a return instruction. - "ret $zero,($ra),1" on alpha. */ - -#define ABOUT_TO_RETURN(pc) (read_memory_integer (pc, 4) == 0x6bfa8001) - /* Say how long (ordinary) registers are. This is a piece of bogosity used in push_word and a few other places; REGISTER_RAW_SIZE is the real way to know how big a register is. */ @@ -184,9 +183,6 @@ alpha_saved_pc_after_call PARAMS ((struct frame_info *)); #define REGISTER_CONVERT_TO_VIRTUAL(REGNUM, TYPE, FROM, TO) \ alpha_register_convert_to_virtual (REGNUM, TYPE, FROM, TO) -#ifdef __STDC__ -struct type; -#endif extern void alpha_register_convert_to_virtual PARAMS ((int, struct type *, char *, char *)); @@ -316,10 +312,7 @@ extern void alpha_find_saved_regs PARAMS ((struct frame_info *)); /* Things needed for making the inferior call functions. */ #define PUSH_ARGUMENTS(nargs, args, sp, struct_return, struct_addr) \ - sp = alpha_push_arguments(nargs, args, sp, struct_return, struct_addr) -#ifdef __STDC__ -struct value; -#endif + sp = alpha_push_arguments((nargs), (args), (sp), (struct_return), (struct_addr)) extern CORE_ADDR alpha_push_arguments PARAMS ((int, struct value **, CORE_ADDR, int, CORE_ADDR)); @@ -384,6 +377,7 @@ extern CORE_ADDR alpha_call_dummy_address PARAMS ((void)); alpha_extra_func_info_t's off of this. */ #define MIPS_EFI_SYMBOL_NAME "__GDB_EFI_INFO__" +extern void ecoff_relocate_efi PARAMS ((struct symbol *, CORE_ADDR)); /* Specific information about a procedure. This overlays the ALPHA's PDR records, |