From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17300 invoked by alias); 23 Nov 2004 11:46:41 -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 17055 invoked from network); 23 Nov 2004 11:46:25 -0000 Received: from unknown (HELO legolas.inter.net.il) (192.114.186.24) by sourceware.org with SMTP; 23 Nov 2004 11:46:25 -0000 Received: from zaretski ([80.230.156.45]) by legolas.inter.net.il (MOS 3.5.5-GR) with ESMTP id DEH32086 (AUTH halo1); Tue, 23 Nov 2004 13:46:07 +0200 (IST) Date: Tue, 23 Nov 2004 12:28:00 -0000 From: "Eli Zaretskii" To: Andrew Cagney Message-ID: <01c4d151$Blat.v2.2.2$ca52d9c0@zahav.net.il> Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=ISO-8859-1 CC: gdb@sources.redhat.com In-reply-to: <41A24D4E.6090301@redhat.com> (message from Andrew Cagney on Mon, 22 Nov 2004 15:34:22 -0500) Subject: Re: new option --readnever & script gstack? Reply-to: Eli Zaretskii References: <41A24D4E.6090301@redhat.com> X-SW-Source: 2004-11/txt/msg00221.txt.bz2 > Date: Mon, 22 Nov 2004 15:34:22 -0500 > From: Andrew Cagney > > As the oposite to --readnow, I'd like to propose a new option > --readnever (i.e., don't read in the symbolic debug inf). That and a > few lines of script should let GDB implemement a direct equivalent to > pstack (called gstack say). An alternative to this would be to have a --read=WHEN switch, which could accept 3 arguments: `now', `asneeded' (the default), and `never'. However, I must admit that, like Mark, I don't see the situation where this would be useful. Could you perhaps describe such a situation, and explain how the existance of the new option would help, including the auxiliary script and the relation to `pstack'?