aboutsummaryrefslogtreecommitdiff
path: root/gdb/sh-tdep.c
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/sh-tdep.c
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/sh-tdep.c')
-rw-r--r--gdb/sh-tdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/sh-tdep.c b/gdb/sh-tdep.c
index e70dfbb..9a60489 100644
--- a/gdb/sh-tdep.c
+++ b/gdb/sh-tdep.c
@@ -111,7 +111,7 @@ frame_find_saved_regs (fi, fsr)
struct frame_info *fi;
struct frame_saved_regs *fsr;
{
- int where[16];
+ int where[NUM_REGS];
int rn;
int have_fp = 0;
int depth;