From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16756 invoked by alias); 14 Aug 2009 20:13:31 -0000 Received: (qmail 16716 invoked by uid 22791); 14 Aug 2009 20:13:30 -0000 X-SWARE-Spam-Status: No, hits=-0.2 required=5.0 tests=AWL,BAYES_00,RCVD_IN_JMF_BL,SPF_SOFTFAIL X-Spam-Check-By: sourceware.org Received: from mtaout2.012.net.il (HELO mtaout2.012.net.il) (84.95.2.4) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 14 Aug 2009 20:13:23 +0000 Received: from conversion-daemon.i_mtaout2.012.net.il by i_mtaout2.012.net.il (HyperSendmail v2004.12) id <0KOD00600UTGGP00@i_mtaout2.012.net.il> for gdb-patches@sourceware.org; Fri, 14 Aug 2009 23:13:19 +0300 (IDT) Received: from HOME-C4E4A596F7 ([84.228.232.38]) by i_mtaout2.012.net.il (HyperSendmail v2004.12) with ESMTPA id <0KOD0035EUU64U30@i_mtaout2.012.net.il>; Fri, 14 Aug 2009 23:13:19 +0300 (IDT) Date: Fri, 14 Aug 2009 20:59:00 -0000 From: Eli Zaretskii Subject: Re: [patch/doc] Tweak "info inferiors" output. In-reply-to: <200908142016.00060.pedro@codesourcery.com> To: Pedro Alves Cc: gdb-patches@sourceware.org Reply-to: Eli Zaretskii Message-id: <834osajgrf.fsf@gnu.org> References: <200908141646.01031.pedro@codesourcery.com> <8363cqjn3s.fsf@gnu.org> <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/msg00206.txt.bz2 > From: Pedro Alves > Date: Fri, 14 Aug 2009 20:15:59 +0100 > > > . 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. Then I suggest to drop the "ID" part and just say "Target". Or maybe "Inferior", this being "info inferiors". > (gdb) info inferiors > Id Target ID > * 1 process 309954 > 4 capsule 2342 > 2 process 109 > 3 process 56 > 5 foo 1234 > 6 remote target What can appear there beyond "process NNN" and "remote rarget"? Are the other examples above real or just hypothetical? For processes, I'd prefer "process (PID NNN)". Just "process NNN" is not enough to unequivocally indicate what the number is, IMO. > The target decides what to print here. Well, I rather hope that the programmer, i.e. the GDB developers, decide what to print there ;-) > > . I'd prefer to explain what can appear under "Target". > > Okay, I can do that. Thanks.