From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26994 invoked by alias); 5 Feb 2002 01:57:03 -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 26903 invoked from network); 5 Feb 2002 01:56:58 -0000 Received: from unknown (HELO cygnus.com) (205.180.230.5) by sources.redhat.com with SMTP; 5 Feb 2002 01:56:58 -0000 Received: from redhat.com (reddwarf.sfbay.redhat.com [205.180.231.12]) by runyon.cygnus.com (8.8.7-cygnus/8.8.7) with ESMTP id RAA03718; Mon, 4 Feb 2002 17:56:49 -0800 (PST) Message-ID: <3C5F3A3A.6565A292@redhat.com> Date: Mon, 04 Feb 2002 17:57:00 -0000 From: Michael Snyder Organization: Red Hat, Inc. X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.4.2-2smp i686) X-Accept-Language: en MIME-Version: 1.0 To: Daniel Jacobowitz CC: Kevin Buettner , Andrew Cagney , Jim Blandy , 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> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-SW-Source: 2002-02/txt/msg00098.txt.bz2 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.