From: Maciej W. Rozycki Date: Mon, 27 Feb 2012 21:27:46 +0000 (+0000) Subject: * mips-linux-tdep.c (mips_linux_init_abi): Set num_pseudo_regs X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=cf23330326fd053b4458a805bc2033d9a53baddd;p=binutils-gdb.git * mips-linux-tdep.c (mips_linux_init_abi): Set num_pseudo_regs too. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 02c9c423d3d..9533556ec6b 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2012-02-27 Maciej W. Rozycki + + * mips-linux-tdep.c (mips_linux_init_abi): Set num_pseudo_regs + too. + 2012-02-27 Thomas Schwinge * sh-tdep.c (sh_make_stub_cache, sh_stub_this_id) diff --git a/gdb/mips-linux-tdep.c b/gdb/mips-linux-tdep.c index c339ec00dc3..6b16995ce30 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,