debugging strategies

Natanael Copa natanael.copa at gmail.com
Fri Mar 23 14:25:35 UTC 2007


On Fri, 2007-03-23 at 16:50 +0800, Rogelio Serrano wrote:
> On 3/23/07, Natanael Copa <natanael.copa at gmail.com> wrote:
> > On Fri, 2007-03-23 at 15:11 +0800, Rogelio Serrano wrote:
> > > Whats the best debugging strategy for an PIE and ET_DYN system?
> > >
> > > i cant get gdb to work. im being forced to add self test code in all
> > > programs that crash. making them all verbose is not an option.
> > >
> >
> > I run the apps in a chroot on a non PAX'ed kernel for debugging. On the
> > production system gdb won't work but in the chroot it does.
> >
>
> I tried that already. The apps dont crash in a chroot.

tricky.

strace?
can you create a core dump and load the dump in chrooted gdb?

Natanael





More information about the busybox mailing list