From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12470 invoked by alias); 10 Apr 2003 02:10:33 -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 12459 invoked from network); 10 Apr 2003 02:10:32 -0000 Received: from unknown (HELO localhost.redhat.com) (24.157.166.107) by sources.redhat.com with SMTP; 10 Apr 2003 02:10:32 -0000 Received: from redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 40E4D2B2F; Wed, 9 Apr 2003 22:10:11 -0400 (EDT) Message-ID: <3E94D283.7060308@redhat.com> Date: Thu, 10 Apr 2003 02:10: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> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2003-04/txt/msg00190.txt.bz2 > Andrew Cagney writes: > > >> > >> > Right, but that doesn't make sense for this command. It doesn't >> > produce so much output that it needs to be directed to a file --- >> > that's the reason the existing 'maint print' commands didn't suffice, >> > even though they include all the info the new commands do. And the >> > regexp is really helpful. > >> >> Helpful or not, the proposed syntax intentionally introduces an >> unnecessary inconsistency into the CLI. > > > 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
? Andrew