aboutsummaryrefslogtreecommitdiff
path: root/gdb/config/sh
diff options
context:
space:
mode:
authorSteve Chamberlain <sac@cygnus>1993-06-17 22:16:07 +0000
committerSteve Chamberlain <sac@cygnus>1993-06-17 22:16:07 +0000
commit7ccb1e4401c7746a72294725c4e738ea2526009e (patch)
tree9e96f39257205aa99f3c713aeaeac1c25b64f7dd /gdb/config/sh
parent219cf232835824f679751b269a4905da7d74881a (diff)
downloadgdb-7ccb1e4401c7746a72294725c4e738ea2526009e.zip
gdb-7ccb1e4401c7746a72294725c4e738ea2526009e.tar.gz
gdb-7ccb1e4401c7746a72294725c4e738ea2526009e.tar.bz2
* configure.in (alpha-*-osf*), config/alpha/alpha-osf.mh: New
host. * sh-tdep.c (frame_find_saved_regs): Use NUM_REGS rather than hard wired (and wrong) constant. * values.c (unpack_long): Add case to unpack when target object is sizeof(int). * config/sh/tm-sh.h (REGISTER_NAMES): Know about the news ones the simulator defines.
Diffstat (limited to 'gdb/config/sh')
-rw-r--r--gdb/config/sh/tm-sh.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/gdb/config/sh/tm-sh.h b/gdb/config/sh/tm-sh.h
index af2a023..7dc6819 100644
--- a/gdb/config/sh/tm-sh.h
+++ b/gdb/config/sh/tm-sh.h
@@ -126,9 +126,9 @@ extern CORE_ADDR sh_skip_prologue ();
#define REGISTER_NAMES \
{"r0", "r1", "r2", "r3", "r4", "r5", "r6", "r7", \
"r8", "r9", "r10","r11","r12","r13","r14","r15",\
- "pc", "pr","gbr","vbr","mach","macl","sr","ticks","cycles","insts" }
+ "pc", "pr","gbr","vbr","mach","macl","sr","ticks","stalls","cycles","insts" ,"plr","tlr" }
-#define NUM_REGS 25
+#define NUM_REGS 28
/* Register numbers of various important registers.
Note that some of these values are "real" register numbers,
@@ -196,8 +196,6 @@ extern CORE_ADDR sh_skip_prologue ();
#define FRAMELESS_FUNCTION_INVOCATION(FI, FRAMELESS) \
(FRAMELESS) = frameless_look_for_prologue(FI)
-CORE_ADDR h8500_frame_chain (/* FRAME thisframe */);
-
#define FRAME_CHAIN(FRAME) sh_frame_chain(FRAME)
#define FRAME_SAVED_PC(FRAME) ((FRAME)->return_pc)
#define FRAME_ARGS_ADDRESS(fi) (fi)->frame
@@ -227,7 +225,7 @@ CORE_ADDR h8500_frame_chain (/* FRAME thisframe */);
typedef unsigned short INSN_WORD;
-#define ADDR_BITS_REMOVE(addr) ((addr) & 0xfffff)
+#define ADDR_BITS_REMOVE(addr) ((addr) & 0xffffff)
#define ADDR_BITS_SET(addr) (addr)
#define CALL_DUMMY_LENGTH 10