This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFA] New command "info proc" for Linux
- From: "Eli Zaretskii" <eliz at is dot elta dot co dot il>
- To: msnyder at redhat dot com
- Cc: drow at mvista dot com, gdb-patches at sources dot redhat dot com
- Date: Wed, 16 Jan 2002 19:23:16 +0200
- Subject: Re: [RFA] New command "info proc" for Linux
- References: <Pine.SUN.3.91.1020116080549.2698F-100000@is> <3C45B35B.653A@redhat.com>
- Reply-to: Eli Zaretskii <eliz at is dot elta dot co dot il>
> Date: Wed, 16 Jan 2002 09:07:39 -0800
> From: Michael Snyder <msnyder@redhat.com>
> >
> > Michael, please don't forget the documentation. Thanks.
>
> Not straightforward. Couple of issues:
>
> 1) The old implementation of the "info proc" command was
> poorly documented -- many of the documented sub-commands
> were never implemented. And the command was only available
> on "/proc" systems (real ones, not Linux).
>
> 2) The stuff I've just added will ONLY work on Linux,
> not on other ("real") /proc systems.
Does that mean the functionality of this command differs on these two
classes of systems? If so, we could:
(a) document the functionality on both classes, telling which parts
work on what systems;
or
(b) document the GNU/Linux functionality that you just added, and
leave the docs of what the command does on ``real'' /proc systems as
it is now.
The latter will probably be easier for you (no need to figure out code
written by someone else ;-), and it doesn't make the situation worse
than it is now. So I won't object if you do only (b). (If you do, it
is possible that the Linux-specific docs could go into a new
subsection of the "Native" node, where system-specific features are
described.
Does that address your concerns?