From cc917275be299d274d6b3a1abe9f43ed5d8d2f2b Mon Sep 17 00:00:00 2001 From: Peter Schauer Date: Sat, 16 Sep 1995 20:37:36 +0000 Subject: [PATCH] * config/mips/tm-mips.h (UNUSED_REGNUM): Define. * mipsv4-nat.c (supply_gregset): Fill UNUSED_REGNUM register with zero. --- gdb/ChangeLog | 6 ++++++ gdb/config/mips/tm-mips.h | 1 + gdb/mipsv4-nat.c | 1 + 3 files changed, 8 insertions(+) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index b6e5ffc20ae..2fb3a151d57 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 200cc8816a9..357a2bc2933 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 8b7113a1f14..df4b6e9a090 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); } -- 2.30.2