From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13395 invoked by alias); 14 May 2007 17:41:30 -0000 Received: (qmail 13384 invoked by uid 22791); 14 May 2007 17:41:29 -0000 X-Spam-Check-By: sourceware.org Received: from return.false.org (HELO return.false.org) (66.207.162.98) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 14 May 2007 17:41:26 +0000 Received: from return.false.org (localhost [127.0.0.1]) by return.false.org (Postfix) with ESMTP id 20CFA4B26D; Mon, 14 May 2007 12:41:25 -0500 (CDT) Received: from caradoc.them.org (dsl093-172-095.pit1.dsl.speakeasy.net [66.93.172.95]) by return.false.org (Postfix) with ESMTP id C4A0F4B262; Mon, 14 May 2007 12:41:21 -0500 (CDT) Received: from drow by caradoc.them.org with local (Exim 4.67) (envelope-from ) id 1HneXu-00026X-Pw; Mon, 14 May 2007 13:41:18 -0400 Date: Mon, 14 May 2007 17:41:00 -0000 From: Daniel Jacobowitz To: Markus Deuling Cc: GDB Patches Subject: Re: [rfc] Fix qC handling in gdbserver Message-ID: <20070514174118.GF4818@caradoc.them.org> Mail-Followup-To: Markus Deuling , GDB Patches References: <4631ADC8.6000603@de.ibm.com> <20070427112726.GA15057@caradoc.them.org> <4638B95C.5060900@de.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4638B95C.5060900@de.ibm.com> User-Agent: Mutt/1.5.15 (2007-04-09) 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: 2007-05/txt/msg00247.txt.bz2 On Wed, May 02, 2007 at 06:16:28PM +0200, Markus Deuling wrote: > Hi, > > Daniel Jacobowitz wrote: > > GDB is opening /proc/pid on the _local_ machine. That's silly. > > gdbserver is usually running on a remote machine; it's only on the > > local machine during native testing. The testcase fails because info > > proc only works for native targets. > > thank you again for your input. The patch attached disables > gdb.base/info-proc.exp > for remote targets. > > Is this ok? > > ChangeLog: > * gdb.base/info-proc.exp: Check is_remote. Yes, this is OK. It's a little silly since the user can still type "info proc" and will get garbage, but we don't need to fix that now. > Btw, > shall I rework the qC-Patch () and remove the space? Like Yes please! > ? Would that be ok for mainline? I wonder why the manual contains qC packets > while gdb does not? Is this a new feature or one that should be removed from > manual rather? GDB contains support for it; gdbserver doesn't use it, but other remote stubs do. For instance, I think RedBoot does. -- Daniel Jacobowitz CodeSourcery