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)
- From: Eli Zaretskii <eliz at gnu dot org>
- To: Pedro Alves <alves dot ped at gmail dot com>
- Cc: stanshebs at earthlink dot net, gdb-patches at sourceware dot org
- Date: Mon, 02 Jan 2012 07:35:29 -0500
- Subject: Re: [PATCH] Add extra 'info os' information types for Linux (trunk and 7.4)
- References: <4E95DC58.7030805@codesourcery.com> <m3lisedpv0.fsf@fleche.redhat.com> <4ECD3496.1070609@codesourcery.com> <4EF9497B.9020501@earthlink.net> <E1RfQXH-0004RB-1H@fencepost.gnu.org> <4EFA54FF.1080307@earthlink.net> <4F019E45.5010906@gmail.com>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> Date: Mon, 02 Jan 2012 12:08:37 +0000
> From: Pedro Alves <alves.ped@gmail.com>
> CC: Eli Zaretskii <eliz@gnu.org>, gdb-patches@sourceware.org
>
> The idea of "info os" is to leave GDB completely agnostic of what is
> it the backend decides to present to the user/frontend. GDB only
> knows that it is being given a table with columns and lines. We
> should not assume that "info os FOO" means the same thing on
> different OSs. FOO in "info os FOO" is completely not standardized.
As I already wrote, I have absolutely no problems with that, provided
that we apply this logic consistently. Doing so would mean that we
should gather all the OS-specific "info MyOS SOMETHING" under the
single "info os" roof, and remove "info dos", "info w32", etc.