new option --readnever & script gstack?

Eli Zaretskii eliz@gnu.org
Wed Nov 24 09:19:00 GMT 2004


> Cc: gdb@sources.redhat.com
> From: "Andrew Burgess" <aab@cichlid.com>
> Date: Tue, 23 Nov 2004 13:42:54 -0800
> 
> > It sounds like the -readnever option you propose would be useful only
> > in the pstack-like situation.  So how about adding a -pstack option
> > which will do whatever it takes for GDB to emulate pstack, i.e. avoid
> > reading the symbols, produce a backtrace, and then detach from the
> > process?
> 
> I think I would tend to use it 'with' symbols myself...

Then perhaps using the -readnow switch would do what you want.

I understand that the motivation for not reading the symbols is the
long time it takes GDB to do that, right?



More information about the Gdb mailing list