From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12957 invoked by alias); 3 Nov 2011 16:57:43 -0000 Received: (qmail 12947 invoked by uid 22791); 3 Nov 2011 16:57:42 -0000 X-SWARE-Spam-Status: No, hits=-0.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_WEB,SPF_SOFTFAIL X-Spam-Check-By: sourceware.org Received: from mtaout23.012.net.il (HELO mtaout23.012.net.il) (80.179.55.175) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 03 Nov 2011 16:57:27 +0000 Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0LU300400GASDX00@a-mtaout23.012.net.il> for gdb-patches@sourceware.org; Thu, 03 Nov 2011 18:56:45 +0200 (IST) Received: from HOME-C4E4A596F7 ([84.228.70.69]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LU3004ZCGEJ2RC0@a-mtaout23.012.net.il>; Thu, 03 Nov 2011 18:56:44 +0200 (IST) Date: Thu, 03 Nov 2011 16:57:00 -0000 From: Eli Zaretskii Subject: Re: [patch] `info proc *' help fix [Re: [patch] `info proc ' completion] In-reply-to: <20111103141144.GA20181@host1.jankratochvil.net> To: Jan Kratochvil Cc: pedro@codesourcery.com, gdb-patches@sourceware.org, sergiodj@redhat.com Reply-to: Eli Zaretskii Message-id: <83aa8dm9f3.fsf@gnu.org> References: <20111031070012.GA32610@host1.jankratochvil.net> <201110311220.53564.pedro@codesourcery.com> <20111101115405.GA15861@host1.jankratochvil.net> <83pqhbn771.fsf@gnu.org> <20111103141144.GA20181@host1.jankratochvil.net> 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: 2011-11/txt/msg00081.txt.bz2 > Date: Thu, 3 Nov 2011 15:11:44 +0100 > From: Jan Kratochvil > Cc: pedro@codesourcery.com, gdb-patches@sourceware.org, sergiodj@redhat.com > > On Tue, 01 Nov 2011 17:22:42 +0100, Eli Zaretskii wrote: > > I wonder if we could clean up this mess with 5 "different bunches of > > info", while we are at that. > > Sorry I somehow mishandled your mail, OK this way? It's better. > add_cmd ("stat", class_info, linux_nat_info_proc_cmd_stat, _("\ > -List a bunch of random process info."), > +List annotated random process info from /proc/PID/stat."), > &info_proc_cmdlist); I would suggest List process info from /proc/PID/stat. > -List a different bunch of random process info."), > +List a different bunch of random process info from /proc/PID/status."), And likewise here. > -List a different bunch of random process info."), > +List current working directory of the process."), > &info_proc_cmdlist); > > add_cmd ("cmdline", class_info, linux_nat_info_proc_cmd_cmdline, _("\ > -List a different bunch of random process info."), > +List command line arguments of the process."), > &info_proc_cmdlist); > > add_cmd ("exe", class_info, linux_nat_info_proc_cmd_exe, _("\ > -List a different bunch of random process info."), > +List absolute filename for executable of the process."), > &info_proc_cmdlist); These are OK. Thanks.