public inbox for gdb-prs@sourceware.org help / color / mirror / Atom feed
From: mostrows@gmail.com To: gdb-gnats@sources.redhat.com Subject: exp/2403: 32-bit addresses miscalculated on 64-bit platform. Date: Thu, 10 Jan 2008 19:18:00 -0000 [thread overview] Message-ID: <20080110191421.21246.qmail@sourceware.org> (raw) >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:
reply other threads:[~2008-01-10 19:18 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20080110191421.21246.qmail@sourceware.org \ --to=mostrows@gmail.com \ --cc=gdb-gnats@sources.redhat.com \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).