This is the mail archive of the gdb@sources.redhat.com 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]

Re: pie stuff


Elena Zannoni wrote:

Stan Shebs writes:
> Elena Zannoni wrote:
> > >A heads up, I am going to start committing pie support to my old
> >branch (which I am bringing up to date) in a few hours. I will then
> >merge it piecemeal to mainline. It's not that much code. More details
> >later.
> >
> I must not have gotten the memo - what's pie? (yeah, yeah, filled pastry
> that one eats :-) )
> > Stan


exactly, next will be gdb brewing your own tea. Tea, earl grey,
hot. An appetizing combinations. And who says we never think about the
comfort of the poor users?


And not even implausible! GDB could inject itself into the embedded
systems that are in modern coffeemakers, through the stub into
flash memory. Why run an *inferior* process when you can replace
it with a *superior* debugger?

It's position independent executables. Your main exec is just like a
shared library. Every time you run it you get a different start
address. Not fun, I can tell you. gcc -fpie -pie -g -o blah blah.c

Heh heh, reminiscent of AIX hell...

Stan


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