This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug gdb/11786] New: PIE support may not work for some PIEs
- From: "jan dot kratochvil at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: 2 Jul 2010 17:14:13 -0000
- Subject: [Bug gdb/11786] New: PIE support may not work for some PIEs
- Reply-to: sourceware-bugzilla at sourceware dot org
PIE support update going to be checked-in for gdb-7.2:
http://sourceware.org/ml/gdb-patches/2010-06/msg00231.html
assumes in svr4_exec_displacement just P_VADDR and P_PADDR get displaced.
prelink sources contains adjust_dso() which may in some cases relocated
also/only P_OFFSET, P_FILESZ and/or P_MEMSZ.
This would disable the PIE adjustment in GDB making it fail on such PIE
inferior. I am currently not aware of such sample program.
--
Summary: PIE support may not work for some PIEs
Product: gdb
Version: unknown
Status: UNCONFIRMED
Severity: minor
Priority: P2
Component: gdb
AssignedTo: unassigned at sourceware dot org
ReportedBy: jan dot kratochvil at redhat dot com
CC: gdb-prs at sourceware dot org
http://sourceware.org/bugzilla/show_bug.cgi?id=11786
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.