From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18524 invoked by alias); 24 Nov 2004 17:53:13 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 18363 invoked from network); 24 Nov 2004 17:52:52 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org with SMTP; 24 Nov 2004 17:52:52 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.11/8.12.11) with ESMTP id iAOHqlrj007413 for ; Wed, 24 Nov 2004 12:52:52 -0500 Received: from pobox.toronto.redhat.com (pobox.toronto.redhat.com [172.16.14.4]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id iAOHqlr27799 for ; Wed, 24 Nov 2004 12:52:47 -0500 Received: from touchme.toronto.redhat.com (IDENT:postfix@touchme.toronto.redhat.com [172.16.14.9]) by pobox.toronto.redhat.com (8.12.8/8.12.8) with ESMTP id iAOHqkoS031298 for ; Wed, 24 Nov 2004 12:52:46 -0500 Received: from toenail.toronto.redhat.com (toenail.toronto.redhat.com [172.16.14.211]) by touchme.toronto.redhat.com (Postfix) with ESMTP id C650980035F for ; Wed, 24 Nov 2004 12:52:46 -0500 (EST) Received: from toenail.toronto.redhat.com (localhost.localdomain [127.0.0.1]) by toenail.toronto.redhat.com (8.12.10/8.12.5) with ESMTP id iAOHqkB3003544 for ; Wed, 24 Nov 2004 12:52:46 -0500 Received: (from fche@localhost) by toenail.toronto.redhat.com (8.12.10/8.12.10/Submit) id iAOHqjkq003540; Wed, 24 Nov 2004 12:52:45 -0500 X-Authentication-Warning: toenail.toronto.redhat.com: fche set sender to fche@redhat.com using -f To: gdb@sources.redhat.com Subject: Re: new option --readnever & script gstack? References: <41A24D4E.6090301@redhat.com> <01c4d151$Blat.v2.2.2$ca52d9c0@zahav.net.il> <41A363FE.9060307@redhat.com> <01c4d19d$Blat.v2.2.2$0109b2e0@zahav.net.il> X-Hashcash: 1:20:041124:gdb@sources.redhat.com::JKvJITN1vN9v7jAX:0000000000000000000000000000000000000000w5i From: fche@redhat.com (Frank Ch. Eigler) Date: Wed, 24 Nov 2004 18:04:00 -0000 In-Reply-To: <01c4d19d$Blat.v2.2.2$0109b2e0@zahav.net.il> Message-ID: User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Reasonable Discussion) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2004-11/txt/msg00244.txt.bz2 eliz wrote: > 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? Or alternately, could the "asneeded" setting stay as it is, but extend gdb's backtrace command to have a sufficiently non-symbolic mode, where the "asneeded" data would not be needed and thus not loaded? - FChE