This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: RFA: Recognize bottom of stack on Linux
Daniel Jacobowitz wrote:
>
> On Mon, Feb 04, 2002 at 06:41:10PM -0700, Kevin Buettner wrote:
> > On Feb 4, 8:32pm, Andrew Cagney wrote:
> >
> > [Regarding what, if anything, to show of the frames below main() in a
> > backtrace...]
> > > Perhaphs the correct fix is to let the user decide. Add a ``set
> > > stack-bottom-strategy ....'' :-)
> >
> > I think that may be best. I don't usually want to look at what's
> > below main(), but when I do, it's usually pretty important to me...
>
> Set backtrace-below-main perhaps?
Don't forget about threads -- their backtrace does not contain main at
all.