From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24901 invoked by alias); 14 Aug 2009 19:15:56 -0000 Received: (qmail 24871 invoked by uid 22791); 14 Aug 2009 19:15:55 -0000 X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (65.74.133.4) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 14 Aug 2009 19:15:48 +0000 Received: (qmail 3120 invoked from network); 14 Aug 2009 19:15:46 -0000 Received: from unknown (HELO orlando) (pedro@127.0.0.2) by mail.codesourcery.com with ESMTPA; 14 Aug 2009 19:15:46 -0000 From: Pedro Alves To: gdb-patches@sourceware.org, Eli Zaretskii Subject: Re: [patch/doc] Tweak "info inferiors" output. Date: Fri, 14 Aug 2009 19:27:00 -0000 User-Agent: KMail/1.9.10 References: <200908141646.01031.pedro@codesourcery.com> <8363cqjn3s.fsf@gnu.org> In-Reply-To: <8363cqjn3s.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200908142016.00060.pedro@codesourcery.com> X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2009-08/txt/msg00203.txt.bz2 On Friday 14 August 2009 18:56:23, Eli Zaretskii wrote: > > From: Pedro Alves > > Date: Fri, 14 Aug 2009 16:46:00 +0100 > > > > Eli, documentation bits ok? > > I have two comments: > > . Does "ID" and the numbers below it really fail to align, as the > example shows? If so, perhaps we should align them. It's a single column called "Target ID". The target can put there whatever it wants, though "process foo" will be the most common. E.g., (gdb) info inferiors Id Target ID * 1 process 309954 4 capsule 2342 2 process 109 3 process 56 5 foo 1234 6 remote target This second column is very much like the second column of "info threads", except, "info threads" doesn't have column headers ...: (gdb) info threads 1 Thread 0x7ffff7fd76e0 (LWP 22139) main (argc=1, argv=0x7fffffffe378) at ../../src/gdb/gdb.c:26 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ The target decides what to print here. Maybe there's a better name for the column. Some debuggers seem to call that the system ID (although most can assume an unix-like system). Target ID sounded more GDB-ish to me. (it may well be it sounds implementor speak, I dunno). > . I'd prefer to explain what can appear under "Target". Okay, I can do that. -- Pedro Alves