This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Add extra 'info os' information types for Linux (trunk and 7.4)
> Date: Tue, 27 Dec 2011 22:24:39 +0100 (CET)
> From: Mark Kettenis <mark.kettenis@xs4all.nl>
> CC: stanshebs@earthlink.net, gdb-patches@sourceware.org
>
> Eli, I don't think your objection makes a lot of sense.
That kind of argument is not an efficient way of making me change my
mind.
> The "info os"
> is a generic command for displaying "osdata" that's made available by
> the backend. It is for the backend to decide what information is made
> available. This diff just adds a bit more "osdata" to the Linux
> native backend and the Linux gdbserver remote backend.
Then let's lump there also the DOS- and Windows-specific "info"
commands for a good measure.
IOW, either "info os" is a hodgepodge of every OS-specific information
we provide about the process being debugged, or we have OS-specific
"info FOO" ("info dos", "info w32", "info linux", etc.) commands.
Having some of this and some of that is just inconsistent.