From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14591 invoked by alias); 10 May 2012 05:21:23 -0000 Received: (qmail 14583 invoked by uid 22791); 10 May 2012 05:21:21 -0000 X-SWARE-Spam-Status: No, hits=-3.9 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_NO,SPF_SOFTFAIL X-Spam-Check-By: sourceware.org Received: from mtaout22.012.net.il (HELO mtaout22.012.net.il) (80.179.55.172) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 10 May 2012 05:21:03 +0000 Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0M3S00I00K3FSF00@a-mtaout22.012.net.il> for gdb-patches@sourceware.org; Thu, 10 May 2012 08:20:09 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.210.75]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0M3S00IJRK5KFF70@a-mtaout22.012.net.il>; Thu, 10 May 2012 08:20:09 +0300 (IDT) Date: Thu, 10 May 2012 05:21:00 -0000 From: Eli Zaretskii Subject: Re: 'info os' additions again In-reply-to: <4FAADEBE.7010908@earthlink.net> To: Stan Shebs Cc: gdb-patches@sourceware.org Reply-to: Eli Zaretskii Message-id: <83pqaczk9u.fsf@gnu.org> References: <4FA9A2FA.3090307@earthlink.net> <83k40m0xqt.fsf@gnu.org> <4FAADEBE.7010908@earthlink.net> 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-05/txt/msg00328.txt.bz2 > Date: Wed, 09 May 2012 14:16:46 -0700 > From: Stan Shebs > CC: gdb-patches@sourceware.org > > > FWIW, I never understood the reason why others prefer "info os". > > I'm sure a lot of it comes from the same-but-differentness of the Unix > family. I myself have my right hand on a Macbook and left hand on a > Dell running Linux, and so if I'm sticking to Posix API, I want GDB to > work the same on the two. Can you show the "same but different" sub-commands we have now? What I see in osdata.c is that the info comes from a target-specific XML file, so it could be anything. Btw, gotta love this doc string: (gdb) help info os Show OS data ARG.