diff options
author | Peter Schauer <Peter.Schauer@mytum.de> | 1995-09-16 20:37:36 +0000 |
---|---|---|
committer | Peter Schauer <Peter.Schauer@mytum.de> | 1995-09-16 20:37:36 +0000 |
commit | cc917275be299d274d6b3a1abe9f43ed5d8d2f2b (patch) | |
tree | 5f464659ea612f3d0df3db4ddd38be8e53cd56e3 /gdb | |
parent | 326b087c89a7536e69ea92db371d5cac3bb4d2ac (diff) | |
download | gdb-cc917275be299d274d6b3a1abe9f43ed5d8d2f2b.zip gdb-cc917275be299d274d6b3a1abe9f43ed5d8d2f2b.tar.gz gdb-cc917275be299d274d6b3a1abe9f43ed5d8d2f2b.tar.bz2 |
* config/mips/tm-mips.h (UNUSED_REGNUM): Define.
* mipsv4-nat.c (supply_gregset): Fill UNUSED_REGNUM register
with zero.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 6 | ||||
-rw-r--r-- | gdb/config/mips/tm-mips.h | 1 | ||||
-rw-r--r-- | gdb/mipsv4-nat.c | 1 |
3 files changed, 8 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index b6e5ffc..2fb3a15 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +Sat Sep 16 13:23:36 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) + + * config/mips/tm-mips.h (UNUSED_REGNUM): Define. + * mipsv4-nat.c (supply_gregset): Fill UNUSED_REGNUM register + with zero. + Thu Sep 14 17:35:24 1995 Stu Grossman (grossman@cygnus.com) * remote-sim.c (gdbsim_create_inferior): Back out change that diff --git a/gdb/config/mips/tm-mips.h b/gdb/config/mips/tm-mips.h index 200cc88..357a2bc 100644 --- a/gdb/config/mips/tm-mips.h +++ b/gdb/config/mips/tm-mips.h @@ -166,6 +166,7 @@ extern int in_sigtramp PARAMS ((CORE_ADDR, char *)); #define FCRCS_REGNUM 70 /* FP control/status */ #define FCRIR_REGNUM 71 /* FP implementation/revision */ #define FP_REGNUM 72 /* Pseudo register that contains true address of executing stack frame */ +#define UNUSED_REGNUM 73 /* Never used, FIXME */ #define FIRST_EMBED_REGNUM 74 /* First CP0 register for embedded use */ #define PRID_REGNUM 89 /* Processor ID */ #define LAST_EMBED_REGNUM 89 /* Last one */ diff --git a/gdb/mipsv4-nat.c b/gdb/mipsv4-nat.c index 8b7113a..df4b6e9 100644 --- a/gdb/mipsv4-nat.c +++ b/gdb/mipsv4-nat.c @@ -57,6 +57,7 @@ supply_gregset (gregsetp) supply_register (PS_REGNUM, zerobuf); supply_register (BADVADDR_REGNUM, zerobuf); supply_register (FP_REGNUM, zerobuf); + supply_register (UNUSED_REGNUM, zerobuf); for (regi = FIRST_EMBED_REGNUM; regi <= LAST_EMBED_REGNUM; regi++) supply_register (regi, zerobuf); } |