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 | |
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')
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/mips-linux-tdep.c | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 02c9c42..9533556 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -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) 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, |