* config/mips/tm-mips.h (UNUSED_REGNUM): Define.

* mipsv4-nat.c (supply_gregset):  Fill UNUSED_REGNUM register
	with zero.
This commit is contained in:
Peter Schauer 1995-09-16 20:37:36 +00:00
parent 326b087c89
commit cc917275be
3 changed files with 8 additions and 0 deletions

View File

@ -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

View File

@ -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 */

View File

@ -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);
}