From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23430 invoked by alias); 10 Apr 2003 21:49: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 23402 invoked from network); 10 Apr 2003 21:49:22 -0000 Received: from unknown (HELO localhost.redhat.com) (207.219.125.105) by sources.redhat.com with SMTP; 10 Apr 2003 21:49:22 -0000 Received: from redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id C67B02B2F; Thu, 10 Apr 2003 17:49:11 -0400 (EDT) Message-ID: <3E95E6D7.6030207@redhat.com> Date: Thu, 10 Apr 2003 21:49:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0.2) Gecko/20030223 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Jim Blandy Cc: gdb-patches@sources.redhat.com Subject: Re: RFA/RFC: dump symtab and psymtab lists References: <3E927CAF.1080704@redhat.com> <3E933B62.8090607@redhat.com> <3E94D283.7060308@redhat.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2003-04/txt/msg00217.txt.bz2 > Andrew Cagney writes: > >> > Could you suggest a way I can provide the utility I need, without >> > introducing an unnecessary inconsistency? I'm not sure what you're >> > looking for. > >> >> Some level of consistency with the rest of the CLI (which isn't easy). >> > >> > How about 'maint print symtabs [-matching REGEXP] [outfile]'? > >> >> maint grep >> maint search
> > > Okay, here's a revised patch that calls them "maint list {,p}symtab". Unfortunatly, there is `(gdb) list' command, so one would expect a certain level of correspondance between `(gdb) list' and `(gdb maint list'. This is like `(gdb) info breakpoints' vs `(gdb) maint info breakpoints'. This also rules out my `maint search' suggestion :-( `maint query '? > Perhaps commands that produce so much output that they need to be able > to send it to a file should be renamed to "maint dump"? True. Andrew