From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23734 invoked by alias); 15 Jun 2010 18:40:51 -0000 Received: (qmail 23718 invoked by uid 22791); 15 Jun 2010 18:40:47 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from smtp-outbound-2.vmware.com (HELO smtp-outbound-2.vmware.com) (65.115.85.73) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 15 Jun 2010 18:40:42 +0000 Received: from mailhost2.vmware.com (mailhost2.vmware.com [10.16.67.167]) by smtp-outbound-2.vmware.com (Postfix) with ESMTP id 6C6E328014; Tue, 15 Jun 2010 11:40:40 -0700 (PDT) Received: from msnyder-server.eng.vmware.com (promd-2s-dhcp138.eng.vmware.com [10.20.124.138]) by mailhost2.vmware.com (Postfix) with ESMTP id 60ECD8E5F3; Tue, 15 Jun 2010 11:40:40 -0700 (PDT) Message-ID: <4C17C928.5030907@vmware.com> Date: Tue, 15 Jun 2010 18:40:00 -0000 From: Michael Snyder User-Agent: Thunderbird 2.0.0.22 (X11/20090609) MIME-Version: 1.0 To: Stan Shebs CC: "gdb-patches@sourceware.org" Subject: Re: [PATCH] Report available OS data types References: <4C16BCB9.5040106@codesourcery.com> In-Reply-To: <4C16BCB9.5040106@codesourcery.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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: 2010-06/txt/msg00350.txt.bz2 Stan Shebs wrote: > As a lead-in to some upcoming work on "OS awareness" for Linux GDB, here > is a little patch for "info os" to return the types of data available > (which is currently just "processes"), instead of erroring out. Is this checked in? I still see: (gdb) info os Argument required. Am I misunderstanding something? How do you get it to list the types available? > 2010-06-14 Stan Shebs > > * osdata.c (get_osdata): Warn separately if target does not report > type list. > (info_osdata_command): Allow empty type, report error if target > does not return available types of OS data. > * linux-nat.c (linux_nat_xfer_osdata): Report list of OS data > types if no annex supplied. >