From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11891 invoked by alias); 15 Apr 2003 15:49:12 -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 11878 invoked from network); 15 Apr 2003 15:49:11 -0000 Received: from unknown (HELO localhost.redhat.com) (207.219.125.105) by sources.redhat.com with SMTP; 15 Apr 2003 15:49:11 -0000 Received: from redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 9E42B2B2F; Tue, 15 Apr 2003 11:49:02 -0400 (EDT) Message-ID: <3E9C29EE.30409@redhat.com> Date: Tue, 15 Apr 2003 15: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> <2950-Sat12Apr2003123240+0300-eliz@elta.co.il> <3E9B036D.30801@redhat.com> <3E9B46D0.90201@redhat.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2003-04/txt/msg00309.txt.bz2 > Andrew Cagney writes: > >> > How about 'maint show {,p}symtab'? That's consistent with the main >> > 'show' command (which displays information about GDB's state), and has >> > no conflicting precedent. > >> >> No. >> >> `show' is for ``showing [and setting] things about the debugger'' - >> show remote, show debug. Just ignore `set variable ...'. >> >> info is for ``showing things about the program being debugged]] - info >> frame, info registers, info symbols >> >> There can be overlap between a `set/show' and `info', but I don't >> think that occures here. > > > So, you'd prefer "maint info {,p}symtabs", then? It isn't a question of personal preference. `maint show' would be wrong. `maint info ....' appears to be the best fit. > Existing commands: > - info sources > - info functions Andrew