gdb/
authorJan Kratochvil <jan.kratochvil@redhat.com>
Mon, 13 Jul 2009 20:16:48 +0000 (20:16 +0000)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Mon, 13 Jul 2009 20:16:48 +0000 (20:16 +0000)
commit8f3139231259ed3202513d7a83d0a25cb051a62a
treeaad3fe502be9bbfa3e05b21b1e79911dfd3ffc2d
parent4662c76e915914dd6fe77a4878fa9a7c8385b7d1
gdb/
Fix memory access from signed 32bit inferior registers on 64bit GDB.
* linux-nat.c (linux_xfer_partial <TARGET_OBJECT_MEMORY>): New variable
addr_bit.  Mask OFFSET by the ADDR_BIT width.

gdb/testsuite/
* gdb.arch/amd64-i386-address.exp, gdb.arch/amd64-i386-address.S: New.
gdb/ChangeLog
gdb/linux-nat.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.arch/amd64-i386-address.S [new file with mode: 0644]
gdb/testsuite/gdb.arch/amd64-i386-address.exp [new file with mode: 0644]