From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19375 invoked by alias); 15 Jun 2010 13:51:40 -0000 Received: (qmail 19360 invoked by uid 22791); 15 Jun 2010 13:51:39 -0000 X-SWARE-Spam-Status: No, hits=-2.2 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (38.113.113.100) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 15 Jun 2010 13:51:35 +0000 Received: (qmail 5134 invoked from network); 15 Jun 2010 13:51:33 -0000 Received: from unknown (HELO caradoc.them.org) (dan@127.0.0.2) by mail.codesourcery.com with ESMTPA; 15 Jun 2010 13:51:33 -0000 Date: Tue, 15 Jun 2010 13:51:00 -0000 From: Daniel Jacobowitz To: Stan Shebs Cc: gdb-patches@sourceware.org Subject: Re: [PATCH] Report available OS data types Message-ID: <20100615135124.GA32295@caradoc.them.org> Mail-Followup-To: Stan Shebs , gdb-patches@sourceware.org References: <4C16BCB9.5040106@codesourcery.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4C16BCB9.5040106@codesourcery.com> User-Agent: Mutt/1.5.20 (2009-06-14) 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/msg00335.txt.bz2 On Mon, Jun 14, 2010 at 04:35:21PM -0700, 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. > > Stan > > 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. Doesn't something in this patch need a doc update? -- Daniel Jacobowitz CodeSourcery