aboutsummaryrefslogtreecommitdiff
path: root/gdb/mips-linux-nat.c
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2013-11-27 17:55:38 +0000
committerPedro Alves <palves@redhat.com>2013-11-27 17:55:38 +0000
commit908fa2aaede2b3d1c33d167116101c2152e30616 (patch)
treeb5a58cf7aae9fde316f1a4276d1ea962a3dd3ef0 /gdb/mips-linux-nat.c
parent6bd273ae450b2ba626b0f7dbda10947e69578e1d (diff)
downloadgdb-908fa2aaede2b3d1c33d167116101c2152e30616.zip
gdb-908fa2aaede2b3d1c33d167116101c2152e30616.tar.gz
gdb-908fa2aaede2b3d1c33d167116101c2152e30616.tar.bz2
Fix type of not saved registers.
value_of_register_lazy uses the type of REGNUM in FRAME, but given multi-arch, the arch of FRAME might be different from the previous frame's arch, and therefore the type of register REGNUM should be retrieved from the unwound arch. This used to be correct before the previous change. Tested on x86_64 Fedora 17. gdb/ 2013-11-27 Pedro Alves <palves@redhat.com> * frame-unwind.c (frame_unwind_got_optimized): Use the type of the register in the previous frame's arch.
Diffstat (limited to 'gdb/mips-linux-nat.c')
0 files changed, 0 insertions, 0 deletions