Re: [patch] `info proc *' help fix [Re: [patch] `info proc ' completion]

Eli Zaretskii
2011-11-03T18:08:56Z

> Date: Thu, 3 Nov 2011 18:06:24 +0100
> From: Jan Kratochvil <jan.kratochvil@redhat.com>
> Cc: pedro@codesourcery.com, gdb-patches@sourceware.org, sergiodj@redhat.com
>
> On Thu, 03 Nov 2011 17:56:48 +0100, Eli Zaretskii wrote:
> > > 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.
>
> The problem is each `info proc XXX' commands reads it in /proc/PID/XXX file,
> which may be obvious. But I understand "stat" and "status" may be an
> exception as it is difficult to describe what /proc/PID/{stat,status} contain.
>
> I assume you meant it this way but asking again.

Yes. I wanted to get rid of the "random" part which makes an
impression that we display things that are not necessarily important.

Thanks.