aboutsummaryrefslogtreecommitdiff
path: root/gdb/mipsv4-nat.c
diff options
context:
space:
mode:
authorPeter Schauer <Peter.Schauer@mytum.de>1995-09-16 20:37:36 +0000
committerPeter Schauer <Peter.Schauer@mytum.de>1995-09-16 20:37:36 +0000
commitcc917275be299d274d6b3a1abe9f43ed5d8d2f2b (patch)
tree5f464659ea612f3d0df3db4ddd38be8e53cd56e3 /gdb/mipsv4-nat.c
parent326b087c89a7536e69ea92db371d5cac3bb4d2ac (diff)
downloadgdb-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/mipsv4-nat.c')
-rw-r--r--gdb/mipsv4-nat.c1
1 files changed, 1 insertions, 0 deletions
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);
}