public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* exp/2403: 32-bit addresses miscalculated on 64-bit platform.
@ 2008-01-10 19:18 mostrows
0 siblings, 0 replies; only message in thread
From: mostrows @ 2008-01-10 19:18 UTC (permalink / raw)
To: gdb-gnats
>Number: 2403
>Category: exp
>Synopsis: 32-bit addresses miscalculated on 64-bit platform.
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Thu Jan 10 19:18:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator: mostrows@gmail.com
>Release: unknown-1.0
>Organization:
>Environment:
GDB build and runs on x86-64-linux, debuggin x86-32 bit app.
>Description:
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.
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-01-10 19:18 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-01-10 19:18 exp/2403: 32-bit addresses miscalculated on 64-bit platform mostrows
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).