From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14302 invoked by alias); 5 Feb 2002 19:52:22 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 14063 invoked from network); 5 Feb 2002 19:52:18 -0000 Received: from unknown (HELO zwingli.cygnus.com) (208.245.165.35) by sources.redhat.com with SMTP; 5 Feb 2002 19:52:18 -0000 Received: by zwingli.cygnus.com (Postfix, from userid 442) id 9D6045E9DE; Tue, 5 Feb 2002 14:53:15 -0500 (EST) To: Daniel Jacobowitz Cc: Kevin Buettner , Andrew Cagney , gdb-patches@sources.redhat.com Subject: Re: RFA: Recognize bottom of stack on Linux References: <200202040206.VAA21952@zenia.red-bean.com> <1020204190121.ZM17294@localhost.localdomain> <3C5F3619.9060708@cygnus.com> <1020205014110.ZM19478@localhost.localdomain> <20020204204432.A31721@nevyn.them.org> From: Jim Blandy Date: Tue, 05 Feb 2002 11:52:00 -0000 In-Reply-To: <20020204204432.A31721@nevyn.them.org> Message-ID: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2002-02/txt/msg00128.txt.bz2 Daniel Jacobowitz 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.