aboutsummaryrefslogtreecommitdiff
path: root/gdb/mips-xdep.c
diff options
context:
space:
mode:
authorPer Bothner <per@bothner.com>1991-10-05 00:25:09 +0000
committerPer Bothner <per@bothner.com>1991-10-05 00:25:09 +0000
commita18e791707326a051dda02401c6e81eb9b21cde9 (patch)
treed4e3cadca0e627ea5cd4176de68f22cecb0e81ed /gdb/mips-xdep.c
parent82ef74dcc78ad480dfb02af434976b1d1d1b6993 (diff)
downloadgdb-a18e791707326a051dda02401c6e81eb9b21cde9.zip
gdb-a18e791707326a051dda02401c6e81eb9b21cde9.tar.gz
gdb-a18e791707326a051dda02401c6e81eb9b21cde9.tar.bz2
More patches from Peter Schauer <pes@regent.e-technik.tu-muenchen.de>:
* mips-xdep.c (store_inferior_registers): Don't try to write the (pseudo) FP. * mipsread.c (parse_partial_symbols): Improved algorithm for setting pst->texthigh.
Diffstat (limited to 'gdb/mips-xdep.c')
-rw-r--r--gdb/mips-xdep.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/mips-xdep.c b/gdb/mips-xdep.c
index a344e8b..51984e7 100644
--- a/gdb/mips-xdep.c
+++ b/gdb/mips-xdep.c
@@ -126,7 +126,8 @@ store_inferior_registers (regno)
{
for (regno = 1; regno < NUM_REGS; regno++)
{
- if (regno == 32 || regno == 35 || regno == 36 || regno == 71)
+ if (regno == 32 || regno == 35 || regno == 36
+ || regno == 71 || regno == FP_REGNUM)
continue;
regaddr = register_addr (regno, 1);
errno = 0;