aboutsummaryrefslogtreecommitdiff
path: root/gdb/am29k-tdep.c
diff options
context:
space:
mode:
authorJohn Gilmore <gnu@cygnus>1992-08-11 09:54:24 +0000
committerJohn Gilmore <gnu@cygnus>1992-08-11 09:54:24 +0000
commit6872cfda60efd427da90039b51a1dada52280cc9 (patch)
tree66a52b870e72d5a52ec850bb442a8b8b08cf5afe /gdb/am29k-tdep.c
parenta679650f372dfeb7358266ab7cc56e1f7df489eb (diff)
downloadgdb-6872cfda60efd427da90039b51a1dada52280cc9.zip
gdb-6872cfda60efd427da90039b51a1dada52280cc9.tar.gz
gdb-6872cfda60efd427da90039b51a1dada52280cc9.tar.bz2
Changes to make MIPS x 29K compile.
* am29k-tdep.c: Lint from DECstation compiler. * mem-break.c: Restore test of BREAKPOINT size that Fred removed. As the man page says, "Sometimes you just can't get lint to shut up". That doesn't mean you should blow away the code it won't shut up about. * mips-xdep.c: Revise stubbing-out of code until Rich cleans it up over the next few weeks. Make mips x 29k build. * tm-29k.h (CALL_DUMMY): Make it work on cross-endian hosts. (FIX_CALL_DUMMY): Comment in the patching of the breakpoint, but leave it as a comment because the breakpoint instruction is not easily accessible at this moment (it's static, and if we define one here, it goes into every file compiled).
Diffstat (limited to 'gdb/am29k-tdep.c')
-rw-r--r--gdb/am29k-tdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/am29k-tdep.c b/gdb/am29k-tdep.c
index e7b699f..d5399b7 100644
--- a/gdb/am29k-tdep.c
+++ b/gdb/am29k-tdep.c
@@ -513,7 +513,7 @@ read_register_stack (memaddr, myaddr, actual_mem_addr, lval)
/* If we don't do this 'info register' stops in the middle. */
if (memaddr >= rstack_high_address)
{
- int val=-1; /* a bogus value */
+ int val = -1; /* a bogus value */
/* It's in a local register, but off the end of the stack. */
int regnum = (memaddr - rsp) / 4 + LR0_REGNUM;
if (myaddr != NULL)