summaryrefslogtreecommitdiff
path: root/gdb/mips64-obsd-tdep.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/mips64-obsd-tdep.c')
-rw-r--r--gdb/mips64-obsd-tdep.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/mips64-obsd-tdep.c b/gdb/mips64-obsd-tdep.c
index ab910edfc4c..cbebe053f5c 100644
--- a/gdb/mips64-obsd-tdep.c
+++ b/gdb/mips64-obsd-tdep.c
@@ -72,7 +72,8 @@ mips64obsd_iterate_over_regset_sections (struct gdbarch *gdbarch,
void *cb_data,
const struct regcache *regcache)
{
- cb (".reg", MIPS64OBSD_NUM_REGS * 8, &mips64obsd_gregset, NULL, cb_data);
+ cb (".reg", MIPS64OBSD_NUM_REGS * 8, MIPS64OBSD_NUM_REGS * 8,
+ &mips64obsd_gregset, NULL, cb_data);
}