From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 570 invoked by alias); 9 Apr 2003 00:09:41 -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 552 invoked from network); 9 Apr 2003 00:09:38 -0000 Received: from unknown (HELO zenia.red-bean.com) (12.222.151.100) by sources.redhat.com with SMTP; 9 Apr 2003 00:09:38 -0000 Received: from zenia.red-bean.com (localhost.localdomain [127.0.0.1]) by zenia.red-bean.com (8.12.5/8.12.5) with ESMTP id h390AMFq020267; Tue, 8 Apr 2003 19:10:22 -0500 Received: (from jimb@localhost) by zenia.red-bean.com (8.12.5/8.12.5/Submit) id h390AL5g020263; Tue, 8 Apr 2003 19:10:21 -0500 To: Andrew Cagney Cc: gdb-patches@sources.redhat.com Subject: Re: RFA/RFC: dump symtab and psymtab lists References: <3E927CAF.1080704@redhat.com> <3E933B62.8090607@redhat.com> From: Jim Blandy Date: Wed, 09 Apr 2003 00:09:00 -0000 In-Reply-To: <3E933B62.8090607@redhat.com> Message-ID: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.92 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2003-04/txt/msg00149.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. How about 'maint print symtabs [-matching REGEXP] [outfile]'?