This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug gdb/11786] PIE support may not work for some PIEs
- From: "dje at google dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Thu, 05 Sep 2013 20:41:29 +0000
- Subject: [Bug gdb/11786] PIE support may not work for some PIEs
- Auto-submitted: auto-generated
- References: <bug-11786-4717 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=11786
dje at google dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ccoutant at google dot com,
| |dje at google dot com
--- Comment #1 from dje at google dot com ---
Another variant that needs to be handled:
Gold sets PF_W for the GNU_RELRO segment and strip removes it.
This causes the following to fail:
bash$ gdb binary.unstripped core.from.stripped
svr4_exec_displacement thinks the core doesn't match the binary
(because of a program segment header mismatch in the flags field)
and the addresses from the core file are not applied.
I think it's reasonable to ignore the flags field for the purposes of this
test,
but maybe I'm missing something.
--
You are receiving this mail because:
You are on the CC list for the bug.