This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch 00/15] PIE: Position Independent Executable support
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: Eli Zaretskii <eliz at gnu dot org>
- Cc: tromey at redhat dot com, gdb-patches at sourceware dot org, jjohnstn at redhat dot com
- Date: Sun, 10 Jan 2010 23:26:37 +0100
- Subject: Re: [patch 00/15] PIE: Position Independent Executable support
- References: <20091109205633.GA19138@host0.dyn.jankratochvil.net> <m37htycnrd.fsf@fleche.redhat.com> <20100110202448.GL10482@host0.dyn.jankratochvil.net> <83k4vp8vos.fsf@gnu.org>
On Sun, 10 Jan 2010 23:02:59 +0100, Eli Zaretskii wrote:
> > +PIE (Position Independent Executable) programs debugging is now supported.
> > +This includes debugging execution of PIC (Position Independent Code) shared
> > +libraries although such libraries must first support their execution.
> ^
> A comma here
OK, in next mail.
> Also, by "such libraries must first support their execution", do you
> mean the libraries should support PIE programs? If so, I think saying
> that would make this a lot clearer.
No...
$ /lib64/libc.so.6
GNU C Library stable release version 2.11.1, by Roland McGrath et al.
[...]
vs.
$ /lib64/libz.so.1
Segmentation fault
One can debug now the former but debugging the latter is not much productive.
A more clear wording is welcome, I tried.
Thanks,
Jan