From: Geoffrey Noer Date: Wed, 15 Jan 1997 00:06:41 +0000 (+0000) Subject: Tue Jan 14 16:01:06 1997 Geoffrey Noer X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6c009684d9a5267f9c999cd067db7934ce8e42c1;p=binutils-gdb.git Tue Jan 14 16:01:06 1997 Geoffrey Noer * mn10300-tdep.c: made a lot more generic, ripping out code from copied target (no more mn10300_scan_prologue, init_extra_frame_info, and mn10300_fix_call_dummy calls) * config/mn10300/tm-mn10300.h: undefine INIT_EXTRA_FRAME_INFO and INIT_FRAME_PC macros --- diff --git a/gdb/config/mn10300/tm-mn10300.h b/gdb/config/mn10300/tm-mn10300.h index f95ce26edd9..e2387ab75fd 100644 --- a/gdb/config/mn10300/tm-mn10300.h +++ b/gdb/config/mn10300/tm-mn10300.h @@ -39,7 +39,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #define LIR_REGNUM 12 #define LAR_REGNUM 13 -#define FP_REGNUM 7 /* needs to be virtual register ??? */ +#define FP_REGNUM 7 #define REGISTER_VIRTUAL_TYPE(REG) builtin_type_int @@ -69,10 +69,6 @@ struct value; #define EXTRA_FRAME_INFO struct frame_saved_regs fsr; -extern void mn10300_init_extra_frame_info PARAMS ((struct frame_info *fi)); -#define INIT_EXTRA_FRAME_INFO(fromleaf, fi) mn10300_init_extra_frame_info (fi) -#define INIT_FRAME_PC /* Not necessary */ - extern void mn10300_frame_find_saved_regs PARAMS ((struct frame_info *fi, struct frame_saved_regs *regaddr)); #define FRAME_FIND_SAVED_REGS(fi, regaddr) regaddr = fi->fsr