From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5352 invoked by alias); 24 Nov 2004 06:56:05 -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 5332 invoked from network); 24 Nov 2004 06:56:01 -0000 Received: from unknown (HELO legolas.inter.net.il) (192.114.186.24) by sourceware.org with SMTP; 24 Nov 2004 06:56:01 -0000 Received: from zaretski ([80.230.156.45]) by legolas.inter.net.il (MOS 3.5.5-GR) with ESMTP id DEL66024 (AUTH halo1); Wed, 24 Nov 2004 08:55:32 +0200 (IST) Date: Wed, 24 Nov 2004 09:19:00 -0000 From: "Eli Zaretskii" To: "Andrew Burgess" Message-ID: <01c4d1f2$Blat.v2.2.2$5a3f3880@zahav.net.il> Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=ISO-8859-1 CC: gdb@sources.redhat.com In-reply-to: (aab@cichlid.com) Subject: Re: new option --readnever & script gstack? Reply-to: Eli Zaretskii 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-SW-Source: 2004-11/txt/msg00238.txt.bz2 > Cc: gdb@sources.redhat.com > From: "Andrew Burgess" > Date: Tue, 23 Nov 2004 13:42:54 -0800 > > > 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? > > I think I would tend to use it 'with' symbols myself... Then perhaps using the -readnow switch would do what you want. I understand that the motivation for not reading the symbols is the long time it takes GDB to do that, right?