From: Geoffrey Noer Date: Tue, 10 Dec 1996 01:41:16 +0000 (+0000) Subject: Mon Dec 9 17:34:05 1996 Geoffrey Noer X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4da0f856e26e24666255991a036aa1f42db4c551;p=binutils-gdb.git Mon Dec 9 17:34:05 1996 Geoffrey Noer * config/mn10300/tm-mn10300.h: more small register fixes * mn10300-tdep.c: filled in from another target --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index c3963a7a502..ed84620b24a 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +Mon Dec 9 17:34:05 1996 Geoffrey Noer + + * config/mn10300/tm-mn10300.h: more small register fixes + * mn10300-tdep.c: filled in from another target + Mon Dec 9 17:12:19 1996 Doug Evans * monitor.c (monitor_insert_breakpoint): Handle bi-endian machines. diff --git a/gdb/config/mn10300/tm-mn10300.h b/gdb/config/mn10300/tm-mn10300.h index c776658383a..126f4837832 100644 --- a/gdb/config/mn10300/tm-mn10300.h +++ b/gdb/config/mn10300/tm-mn10300.h @@ -27,11 +27,13 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #define REGISTER_SIZE 4 #define MAX_REGISTER_RAW_SIZE 4 -#define NUM_REGS 14 +#define NUM_REGS 19 #define REGISTER_NAMES \ { "d0", "d1", "d2", "d3", "a0", "a1", "a2", "a3", \ - "sp", "pc", "mdr", "psw", "lir", "lar"} + "sp", "pc", "mdr", "psw", "lir", "lar" \ + \ + "fp", "vo", "rp", "arg0", "arglast"} #define SP_REGNUM 8 #define PC_REGNUM 9 @@ -40,9 +42,11 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #define LIR_REGNUM 12 #define LAR_REGNUM 13 -#define FP_REGNUM 3 /* ??? */ -#define V0_REGNUM 2 /* ??? */ -#define RP_REGNUM 1 /* ??? */ +#define FP_REGNUM 14 /* needs to be virtual register ??? */ +#define V0_REGNUM 15 /* needs to be virtual register ??? */ +#define RP_REGNUM 16 /* needs to be virtual register ??? */ +#define ARG0_REGNUM 17 /* needs to be virtual register ??? */ +#define ARGLAST_REGNUM 18 /* needs to be virtual register ??? */ #define REGISTER_VIRTUAL_TYPE(REG) builtin_type_int @@ -108,7 +112,9 @@ extern CORE_ADDR mn10300_skip_prologue PARAMS ((CORE_ADDR pc)); extern void mn10300_pop_frame PARAMS ((struct frame_info *frame)); #define POP_FRAME mn10300_pop_frame (get_current_frame ()) +#define USE_GENERIC_DUMMY_FRAMES #define CALL_DUMMY {0} +#undef CALL_DUMMY /* for now, no function calls */ #define CALL_DUMMY_START_OFFSET (0) #define CALL_DUMMY_BREAKPOINT_OFFSET (0) #define CALL_DUMMY_LOCATION AT_ENTRY_POINT