This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug gdb/11786] New: PIE support may not work for some PIEs


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]