public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug gdb/11786] New: PIE support may not work for some PIEs
@ 2010-07-02 17:14 jan dot kratochvil at redhat dot com
  2010-08-12  8:28 ` [Bug gdb/11786] " devurandom at gmx dot net
  0 siblings, 1 reply; 18+ messages in thread
From: jan dot kratochvil at redhat dot com @ 2010-07-02 17:14 UTC (permalink / raw)
  To: gdb-prs

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.


^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2024-01-14 14:36 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-11786-4717@http.sourceware.org/bugzilla/>
2013-09-05 20:41 ` [Bug gdb/11786] PIE support may not work for some PIEs dje at google dot com
2013-09-05 20:59 ` jan.kratochvil at redhat dot com
2013-09-05 21:37 ` dje at google dot com
2013-09-05 21:45 ` dje at google dot com
2013-09-06  7:10 ` jan.kratochvil at redhat dot com
2013-09-06  7:13 ` jan.kratochvil at redhat dot com
2013-09-06 16:03 ` ppluzhnikov at google dot com
2013-09-06 16:42 ` dje at google dot com
2013-09-06 17:04 ` jan.kratochvil at redhat dot com
2013-10-25 18:56 ` dje at google dot com
2013-11-04 22:15 ` dje at google dot com
2013-11-08  0:45 ` cvs-commit at gcc dot gnu.org
2013-12-13 16:52 ` cvs-commit at gcc dot gnu.org
2014-05-12 15:36 ` derek.cole at gmail dot com
2014-05-12 16:13 ` jan.kratochvil at redhat dot com
2015-09-07  4:05 ` xdje42 at gmail dot com
2024-01-14 14:36 ` ssbssa at sourceware dot org
2010-07-02 17:14 [Bug gdb/11786] New: " jan dot kratochvil at redhat dot com
2010-08-12  8:28 ` [Bug gdb/11786] " devurandom at gmx dot net

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).