diff options
author | Andreas Schwab <schwab@linux-m68k.org> | 2003-05-20 23:44:23 +0000 |
---|---|---|
committer | Andreas Schwab <schwab@linux-m68k.org> | 2003-05-20 23:44:23 +0000 |
commit | 55809acbfc09aa54b9bccba498a347df51c68f12 (patch) | |
tree | b6d0bb946d279793d8c2e9f6fa1d6c285b6f2e54 /gdb/config/m68k | |
parent | 72fe3d258d24a087ba06b93bdb84308cfb6129c4 (diff) | |
download | gdb-55809acbfc09aa54b9bccba498a347df51c68f12.zip gdb-55809acbfc09aa54b9bccba498a347df51c68f12.tar.gz gdb-55809acbfc09aa54b9bccba498a347df51c68f12.tar.bz2 |
* Makefile.in (m68k-tdep.o, m68klinux-tdep.o): Update
dependencies.
* m68k-tdep.c (m68k_gdbarch_init): Call gdbarch_init_osabi at the
end.
* m68klinux-tdep.c (m68k_linux_init_abi): New function.
(_initialize_m68k_linux_tdep): New function.
(m68k_linux_frame_saved_pc): Make static.
(m68k_linux_extract_return_value): Likewise.
(m68k_linux_store_return_value): Likewise.
(m68k_linux_extract_struct_value_address): Likewise.
* config/m68k/tm-linux.h (DEPRECATED_EXTRACT_RETURN_VALUE):
Remove.
(DEPRECATED_STORE_RETURN_VALUE): Remove.
(DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS): Remove.
(DEPRECATED_FRAME_SAVED_PC): Remove.
Diffstat (limited to 'gdb/config/m68k')
-rw-r--r-- | gdb/config/m68k/tm-linux.h | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/gdb/config/m68k/tm-linux.h b/gdb/config/m68k/tm-linux.h index b11c418..636df0b 100644 --- a/gdb/config/m68k/tm-linux.h +++ b/gdb/config/m68k/tm-linux.h @@ -31,33 +31,6 @@ #define START_INFERIOR_TRAPS_EXPECTED 2 -/* The following definitions are appropriate when using the ELF - format, where floating point values are returned in fp0, pointer - values in a0 and other values in d0. */ - -/* Extract from an array REGBUF containing the (raw) register state a - function return value of type TYPE, and copy that, in virtual - format, into VALBUF. */ - -#define DEPRECATED_EXTRACT_RETURN_VALUE(TYPE, REGBUF, VALBUF) \ - m68k_linux_extract_return_value (TYPE, REGBUF, VALBUF) -extern void m68k_linux_extract_return_value (struct type *, char *, char *); - -/* Write into appropriate registers a function return value of type - TYPE, given in virtual format. */ - -#define DEPRECATED_STORE_RETURN_VALUE(TYPE, VALBUF) \ - m68k_linux_store_return_value (TYPE, VALBUF) -extern void m68k_linux_store_return_value (struct type *, char *); - -/* Extract from an array REGBUF containing the (raw) register state - the address in which a function should return its structure value, - as a CORE_ADDR (or an expression that can be used as one). */ - -#define DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS(REGBUF) \ - m68k_linux_extract_struct_value_address (REGBUF) -extern CORE_ADDR m68k_linux_extract_struct_value_address (char *); - /* Offsets (in target ints) into jmp_buf. */ #define JB_ELEMENT_SIZE 4 @@ -70,8 +43,5 @@ extern CORE_ADDR m68k_linux_extract_struct_value_address (char *); #define GET_LONGJMP_TARGET(ADDR) m68k_get_longjmp_target(ADDR) -#define DEPRECATED_FRAME_SAVED_PC(frame) m68k_linux_frame_saved_pc (frame) -extern CORE_ADDR m68k_linux_frame_saved_pc (struct frame_info *); - #define IN_SIGTRAMP(pc,name) m68k_linux_in_sigtramp (pc) extern int m68k_linux_in_sigtramp (CORE_ADDR pc); |