From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17622 invoked by alias); 2 Jan 2012 12:35:46 -0000 Received: (qmail 17519 invoked by uid 22791); 2 Jan 2012 12:35:45 -0000 X-SWARE-Spam-Status: No, hits=-2.8 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from fencepost.gnu.org (HELO fencepost.gnu.org) (140.186.70.10) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 02 Jan 2012 12:35:32 +0000 Received: from eliz by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1Rhh6v-0007lW-95; Mon, 02 Jan 2012 07:35:29 -0500 Date: Mon, 02 Jan 2012 12:35:00 -0000 Message-Id: From: Eli Zaretskii To: Pedro Alves CC: stanshebs@earthlink.net, gdb-patches@sourceware.org In-reply-to: <4F019E45.5010906@gmail.com> (message from Pedro Alves on Mon, 02 Jan 2012 12:08:37 +0000) Subject: Re: [PATCH] Add extra 'info os' information types for Linux (trunk and 7.4) Reply-to: Eli Zaretskii References: <4E95DC58.7030805@codesourcery.com> <4ECD3496.1070609@codesourcery.com> <4EF9497B.9020501@earthlink.net> <4EFA54FF.1080307@earthlink.net> <4F019E45.5010906@gmail.com> X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2012-01/txt/msg00029.txt.bz2 > Date: Mon, 02 Jan 2012 12:08:37 +0000 > From: Pedro Alves > CC: Eli Zaretskii , 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.