From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27623 invoked by alias); 11 Dec 2001 08:18:19 -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 27562 invoked from network); 11 Dec 2001 08:18:15 -0000 Received: from unknown (HELO is.elta.co.il) (199.203.121.2) by sources.redhat.com with SMTP; 11 Dec 2001 08:18:15 -0000 Received: from is (is [199.203.121.2]) by is.elta.co.il (8.9.3/8.8.8) with SMTP id KAA00522; Tue, 11 Dec 2001 10:17:36 +0200 (IST) Date: Tue, 11 Dec 2001 00:18:00 -0000 From: Eli Zaretskii X-Sender: eliz@is To: Jim Blandy cc: fnf@redhat.com, gdb-patches@sources.redhat.com Subject: Re: RFA: "maint print type" should print all the flag bits In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-SW-Source: 2001-12/txt/msg00295.txt.bz2 On 10 Dec 2001, Jim Blandy wrote: > > > The "maint print type" command does not print all the flag > > > bits. > > > > This command is not documented in the manual. Could someone please > > fill that void? > > Are the other `maint' commands documented in the manual? At least some of them are. Try "i maint TAB" in Info, and you will see which ones are there. > They're only meant for use by GDB developers. How do you expect the GDB developers to discover their existence if they aren't documented? Even if they do discover their existence, how would a developer who never used a particular command know what it does? The built-in doc strings are terse and don't explain much. For example, suppose i use "maint print type" and see it print TYPE_FLAG_TARGET_STUB--how do I figure out what that means? (If you think that GDB's sources explain that clearly, think again ;-) I think every command should be documented in the manual.