From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22899 invoked by alias); 17 Jun 2003 14:59:30 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 22860 invoked from network); 17 Jun 2003 14:59:29 -0000 Received: from unknown (HELO localhost.redhat.com) (207.219.125.131) by sources.redhat.com with SMTP; 17 Jun 2003 14:59:29 -0000 Received: from redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 785BA2B5F; Tue, 17 Jun 2003 10:59:27 -0400 (EDT) Message-ID: <3EEF2CCF.7020708@redhat.com> Date: Tue, 17 Jun 2003 14:59:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0.2) Gecko/20030223 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Daniel Jacobowitz Cc: gdb-patches@sources.redhat.com Subject: Re: RFA: "disconnect" command References: <20030614042642.GA28231@nevyn.them.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2003-06/txt/msg00560.txt.bz2 > This patch got tabled shortly before 5.3, due to bad timing on my part. > Now here we are coming up on 6.0 and my timing's no better... this is > the first of several old patches that I would like to see included in > 6.0, assuming I get the time to revisit them all. > > Refresher on this one: the patch adds a "disconnect" commad, and > implements it for remote targets. "disconnect" leaves the target > stopped, while "detach" usually resumes it. Useful with kgdb, > gdbserver, et cetera. > > I've included the gdbserver portion of the patch this time, too. > > There was a consensus on this patch the last time I posted it, but it's > been so long that I'd like a thumbs-up from another maintainer first. > I've corrected the doc problems; Andrew, there's still no MI testcase, > because I could not figure out a reasonable way to write one without > leaving a dangling process around. Re-attaching to it to kill it > properly, from within the testsuite, ranges from hard to really hard. > > Thoughts? OK? The code, yea. Just check that part in. The doco, though, does not belong in ``Implementing a remote stub'' :-( (the existing doco is scrambled). Can you please insert at the start of that chapter a new section called: @section Connecting to a remote target and then, from ``Using the gdbserver program'' and ``Using the gdbserv.nlm program'', replace ``On the GDB host machine'' with an @xfef to ``Connecting to a remote target''. And move 7. on from ``Implementing a remote stub'' to the new section. Andrew