Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* GDB pie
@ 2006-08-24 23:48 John Moser
  2006-08-25  0:08 ` Daniel Jacobowitz
  0 siblings, 1 reply; 7+ messages in thread
From: John Moser @ 2006-08-24 23:48 UTC (permalink / raw)
  To: gdb

[-- Attachment #1: Type: text/plain, Size: 851 bytes --]

It seems right now I can't get gdb to debug a program compiled with gcc
as:

gcc -fpic -fpie -ggdb pie.c -o pie

Somewhere there were some patches floating around that allowed gdb to
handle position independent executables; but I can't find them* and
don't know if they're up to date.

Anyone have any ideas on this?  I know the patches are out there
somewhere, it'd be nice if whoever wrote them worked into getting them
into mainline, assuming they're still maintained.  Using PIE binaries is
a security feature that can be found in RedHat and Gentoo; it's
recommended to build the entire system PIE by the PaX project as well.



*Google:  gdb "position independent executable" patch; gdb "position
independent executable"; gdb position independent executable; gdb pie
patch; gdb pie

-- 
John Moser <john.r.moser@gmail.com>

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 827 bytes --]

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

end of thread, other threads:[~2006-08-25  0:37 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-08-24 23:48 GDB pie John Moser
2006-08-25  0:08 ` Daniel Jacobowitz
2006-08-25  0:13   ` Elena Zannoni
2006-08-25  0:21     ` Daniel Jacobowitz
2006-08-25  0:28       ` Elena Zannoni
2006-08-25  0:33     ` John Moser
2006-08-25  0:37       ` Elena Zannoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox