[Converted from Gnats 2403] I try to access some target program symbols and fail: (gdb) p buf multi-thread:target_xfer_partial (2, (null), 0x299f020, 0x0, 0x1ff960950, 4) = 0 Cannot access memory at address 0xff960950 Note that gdb is trying to look up address 0x1ff960950, not 0xff960950. Obviously this fails as it is not a 32-bit address that is valid in this program. The addition that overflows the 32-bit address space is at findvar.c:496. Release: unknown Environment: GDB build and runs on x86-64-linux, debuggin x86-32 bit app.
(In reply to comment #0) > [Converted from Gnats 2403] > The addition that overflows the 32-bit address space is at findvar.c:496. gdb has changed a lot since 2008. A diff or even just pasting the function in question here might help a bit. A test case would be superb.
Closing as OBSOLETE due to lack of response. Feel free to reopen if it is still valid.