* mips-linux-tdep.c (mips_linux_init_abi): Set num_pseudo_regs
too.
This commit is contained in:
parent
5a41c0b791
commit
cf23330326
2 changed files with 6 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
2012-02-27 Maciej W. Rozycki <macro@codesourcery.com>
|
||||
|
||||
* mips-linux-tdep.c (mips_linux_init_abi): Set num_pseudo_regs
|
||||
too.
|
||||
|
||||
2012-02-27 Thomas Schwinge <thomas@codesourcery.com>
|
||||
|
||||
* sh-tdep.c (sh_make_stub_cache, sh_stub_this_id)
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue