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: Joel Brobecker <brobecker at adacore dot com>
- To: Eli Zaretskii <eliz at gnu dot org>
- Cc: Pedro Alves <alves dot ped at gmail dot com>, stanshebs at earthlink dot net, gdb-patches at sourceware dot org
- Date: Tue, 3 Jan 2012 07:04:59 +0400
- 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> <E1Rhh6v-0007lW-95@fencepost.gnu.org>
> 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.
Generally speaking, I tend to agree - it is best to have a general
command that each platform can implement rather than each having
their own command . People like myself who work on so many different
platforms tend to lose out on these little commands. I've seen this
sort of transition with the command used to list shared libraries on
Windows, for instance. But, as Pedro shows, the devil is in the
details. I think we need to look at each command and deal with it
individually.
--
Joel