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 <drow@mvista.com> writes:
> 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?
I don't disagree, but I think it's a fix independent of my change.
I think the default should be to conceal stuff below main, since most
users aren't debugging their system startup code. Keep in mind that
this group has a skewed perspective on that, since that's exactly the
kind of thing we *do* spend our time worrying about.