From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30333 invoked by alias); 21 Sep 2006 20:56:06 -0000 Received: (qmail 30325 invoked by uid 22791); 21 Sep 2006 20:56:05 -0000 X-Spam-Check-By: sourceware.org Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.31.1) with ESMTP; Thu, 21 Sep 2006 20:56:02 +0000 Received: from drow by nevyn.them.org with local (Exim 4.54) id 1GQVaQ-0001In-D7; Thu, 21 Sep 2006 16:55:58 -0400 Date: Thu, 21 Sep 2006 20:56:00 -0000 From: Daniel Jacobowitz To: Michael Snyder Cc: Denis PILAT , gdb@sourceware.org Subject: Re: gdbserver, was Re: remote validation Message-ID: <20060921205558.GA4930@nevyn.them.org> Mail-Followup-To: Michael Snyder , Denis PILAT , gdb@sourceware.org References: <4512A12F.8020507@st.com> <20060921143325.GA24126@nevyn.them.org> <1158871871.22863.5.camel@localhost.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1158871871.22863.5.camel@localhost.localdomain> User-Agent: Mutt/1.5.13 (2006-08-11) X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2006-09/txt/msg00125.txt.bz2 On Thu, Sep 21, 2006 at 01:51:11PM -0700, Michael Snyder wrote: > On Thu, 2006-09-21 at 10:33 -0400, Daniel Jacobowitz wrote: > > > # There's no support for argument-passing (yet). > > set_board_info noargs 1 > > > > # Can't do input (or output) in the current gdbserver. > > set_board_info gdb,noinferiorio 1 > > > > # Can't do hardware watchpoints, in general > > set_board_info gdb,no_hardware_watchpoints 1; > > Not to highjack the thread, but... I'm wondering how much > interest / motivation there would be, to get a few of these > things (such as infiorior i/o) working in linux/gdbserver? Args can be made to work with the current gdbserver; the harness starts a new process each time and we can pass things on the gdbserver command line. Also, I have patches for another project which implement set args directly over the remote protocol. I just haven't gotten round to submitting that one yet. The infrastructure for hardware watchpoints is in place. It just needs more per-platform support, and some way to behave sensibly if the target doesn't have any (the remote protocol behavior here is kind of weak). Inferior I/O is a heavy question. I don't know. I don't particularly want to have gdbserver create slave ptys for this. -- Daniel Jacobowitz CodeSourcery