|
List Info
Thread: GDB pie
|
|
| GDB pie |

|
2006-08-24 23:48:18 |
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>
|
|
| GDB pie |

|
2006-08-25 00:08:35 |
On Thu, Aug 24, 2006 at 07:48:18PM -0400, John Moser wrote:
> 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.
Look for the two branches in the CVS repository whose name
contains
"pie". Elena was working on this, but ran out
of time, and no longer
works on GDB. That's all I know about it.
--
Daniel Jacobowitz
CodeSourcery
|
|
| GDB pie |

|
2006-08-25 00:08:47 |
I don't??
John, have a look at the redhat gdb rpm, the patches are in
there.
Daniel Jacobowitz writes:
> On Thu, Aug 24, 2006 at 07:48:18PM -0400, John Moser
wrote:
> > 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.
>
> Look for the two branches in the CVS repository whose
name contains
> "pie". Elena was working on this, but ran
out of time, and no longer
> works on GDB. That's all I know about it.
>
> --
> Daniel Jacobowitz
> CodeSourcery
|
|
| GDB pie |

|
2006-08-25 00:21:20 |
On Thu, Aug 24, 2006 at 08:08:47PM -0400, Elena Zannoni
wrote:
>
> I don't??
Sorry, I thought you were entirely busy with
SystemTap/Frysk; I haven't
heard from you on this list in ages. Good to see you, and I
apologize.
--
Daniel Jacobowitz
CodeSourcery
|
|
| GDB pie |

|
2006-08-25 00:23:06 |
Daniel Jacobowitz writes:
> On Thu, Aug 24, 2006 at 08:08:47PM -0400, Elena
Zannoni wrote:
> >
> > I don't??
>
> Sorry, I thought you were entirely busy with
SystemTap/Frysk; I haven't
> heard from you on this list in ages. Good to see you,
and I apologize.
>
> --
> Daniel Jacobowitz
> CodeSourcery
that's ok, I am still hanging around here, but yes, not
much time to do other
work atm.
|
|
[1-5]
|
|
|
about | contact Other archives ( Real Estate discussion Medical topics )
|