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.
Showing
- gdb/ChangeLog 6 additions, 0 deletionsgdb/ChangeLog
- gdb/linux-nat.c 14 additions, 0 deletionsgdb/linux-nat.c
- gdb/testsuite/ChangeLog 4 additions, 0 deletionsgdb/testsuite/ChangeLog
- gdb/testsuite/gdb.arch/amd64-i386-address.S 24 additions, 0 deletionsgdb/testsuite/gdb.arch/amd64-i386-address.S
- gdb/testsuite/gdb.arch/amd64-i386-address.exp 43 additions, 0 deletionsgdb/testsuite/gdb.arch/amd64-i386-address.exp
Loading
Please register or sign in to comment