diff options
author | Maciej W. Rozycki <macro@linux-mips.org> | 2012-02-27 21:27:46 +0000 |
---|---|---|
committer | Maciej W. Rozycki <macro@linux-mips.org> | 2012-02-27 21:27:46 +0000 |
commit | cf23330326fd053b4458a805bc2033d9a53baddd (patch) | |
tree | b15cba60639259fab52980de77ef077b0e66510d /gdb/mips-linux-tdep.c | |
parent | 5a41c0b7916da04800d65443a80e163e7c2d9399 (diff) | |
download | gdb-cf23330326fd053b4458a805bc2033d9a53baddd.zip gdb-cf23330326fd053b4458a805bc2033d9a53baddd.tar.gz gdb-cf23330326fd053b4458a805bc2033d9a53baddd.tar.bz2 |
* mips-linux-tdep.c (mips_linux_init_abi): Set num_pseudo_regs
too.
Diffstat (limited to 'gdb/mips-linux-tdep.c')
-rw-r--r-- | gdb/mips-linux-tdep.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/mips-linux-tdep.c b/gdb/mips-linux-tdep.c index c339ec0..6b16995 100644 --- a/gdb/mips-linux-tdep.c +++ b/gdb/mips-linux-tdep.c @@ -1334,6 +1334,7 @@ mips_linux_init_abi (struct gdbarch_info info, described or not). */ gdb_assert (gdbarch_num_regs (gdbarch) <= MIPS_RESTART_REGNUM); set_gdbarch_num_regs (gdbarch, MIPS_RESTART_REGNUM + 1); + set_gdbarch_num_pseudo_regs (gdbarch, MIPS_RESTART_REGNUM + 1); /* If it's present, then assign it to the reserved number. */ feature = tdesc_find_feature (info.target_desc, |