diff options
author | Philippe De Muyter <phdm@macqel.be> | 2000-03-24 11:12:11 +0000 |
---|---|---|
committer | Philippe De Muyter <phdm@macqel.be> | 2000-03-24 11:12:11 +0000 |
commit | 89c3b6d36d48e22b272c335ef9b13bc5ec04c67c (patch) | |
tree | 5f69f464cdf1f3b31e969b34e1be82dd70a3dd82 /gdb/config | |
parent | b9deaee7a0c35ded5c899c686db412c6587be1de (diff) | |
download | gdb-89c3b6d36d48e22b272c335ef9b13bc5ec04c67c.zip gdb-89c3b6d36d48e22b272c335ef9b13bc5ec04c67c.tar.gz gdb-89c3b6d36d48e22b272c335ef9b13bc5ec04c67c.tar.bz2 |
* m68k-tdep.c (P_LINKL_FP, P_LINKW_FP): Macros renamed from P_LINK_L
and P_LINK_W.
(P_PEA_FP, P_MOVL_SP_FP): New macros.
(P_MOVL, P_LEAL, P_MOVML): Macros renamed from P_MOV_L, P_LEA_L and
P_MOVM_L.
(altos_skip_prologue, isi_skip_prologue): Use P_* macros, not octal
constants.
(delta68_in_sigtramp): New function.
(delta68_frame_args_address, delta68_frame_saved_pc): Ditto.
(m68k_skip_prologue): Use P_* macros, not hex constants.
(m68k_find_saved_regs): Do not expect a fixed sequence of register save
instructions, but accept them in any order; use P_* macros, not octal
or hex constants; recognize also `fmovemx to (fp + displacement)' and
`moveml to (fp + displacement)'.
* m68/tm-delta68.h (IN_SIGTRAMP): New macro.
(FRAME_SAVED_PC, FRAME_ARGS_ADDRESS): Ditto.
Diffstat (limited to 'gdb/config')
-rw-r--r-- | gdb/config/m68k/tm-delta68.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/gdb/config/m68k/tm-delta68.h b/gdb/config/m68k/tm-delta68.h index 260f733..97953bd 100644 --- a/gdb/config/m68k/tm-delta68.h +++ b/gdb/config/m68k/tm-delta68.h @@ -92,3 +92,14 @@ extern int delta68_frame_num_args PARAMS ((struct frame_info * fi)); #undef EXTRACT_STRUCT_VALUE_ADDRESS #define EXTRACT_STRUCT_VALUE_ADDRESS(REGBUF)\ (*(CORE_ADDR *)((char*)(REGBUF) + 8 * 4)) + +extern int delta68_in_sigtramp PARAMS ((CORE_ADDR pc, char * name)); +#define IN_SIGTRAMP(pc,name) delta68_in_sigtramp (pc, name) + +extern CORE_ADDR delta68_frame_saved_pc PARAMS ((struct frame_info * fi)); +#undef FRAME_SAVED_PC +#define FRAME_SAVED_PC(fi) delta68_frame_saved_pc (fi) + +extern CORE_ADDR delta68_frame_args_address PARAMS ((struct frame_info * fi)); +#undef FRAME_ARGS_ADDRESS +#define FRAME_ARGS_ADDRESS(fi) delta68_frame_args_address (fi) |