From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9963 invoked by alias); 16 Jun 2003 14:38:16 -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 9938 invoked from network); 16 Jun 2003 14:38:15 -0000 Received: from unknown (HELO crack.them.org) (146.82.138.56) by sources.redhat.com with SMTP; 16 Jun 2003 14:38:15 -0000 Received: from dsl093-172-017.pit1.dsl.speakeasy.net ([66.93.172.17] helo=nevyn.them.org ident=mail) by crack.them.org with asmtp (Exim 3.12 #1 (Debian)) id 19Rv8Q-0002uY-00; Mon, 16 Jun 2003 09:39:02 -0500 Received: from drow by nevyn.them.org with local (Exim 3.36 #1 (Debian)) id 19Rv7b-0002lF-00; Mon, 16 Jun 2003 10:38:11 -0400 Date: Mon, 16 Jun 2003 14:38:00 -0000 From: Daniel Jacobowitz To: Paul Koning Cc: gdb-patches@sources.redhat.com Subject: Re: RFA: "disconnect" command Message-ID: <20030616143810.GA8603@nevyn.them.org> Mail-Followup-To: Paul Koning , gdb-patches@sources.redhat.com References: <20030614042642.GA28231@nevyn.them.org> <16109.50758.138766.451235@pkoning.dev.equallogic.com> <20030616134103.GA17403@nevyn.them.org> <16109.52652.901052.156258@pkoning.dev.equallogic.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <16109.52652.901052.156258@pkoning.dev.equallogic.com> User-Agent: Mutt/1.5.1i X-SW-Source: 2003-06/txt/msg00531.txt.bz2 On Mon, Jun 16, 2003 at 10:01:16AM -0400, Paul Koning wrote: > >>>>> "Daniel" == Daniel Jacobowitz writes: > > Daniel> On Mon, Jun 16, 2003 at 09:29:42AM -0400, Paul Koning wrote: > >> >>>>> "Daniel" == Daniel Jacobowitz writes: > >> ... > Daniel> Refresher on this one: the patch adds a "disconnect" commad, > Daniel> and implements it for remote targets. "disconnect" leaves > Daniel> the target stopped, while "detach" usually resumes it. > Daniel> Useful with kgdb, gdbserver, et cetera. > >> Useful indeed. But there is nothing in the names "detach" and > >> "disconnect" that suggests how they differ. Would it be possible > >> to have command names that are suggestive of their action? > > Daniel> The last time I proposed this, we went back and forth for a > Daniel> week on names and this was the best we could come up with. > Daniel> Have you got a better suggestion? > > Nothing really promising. But how about doing this with an (optional) > argument on the "detach" command, e.g., "detach stop" and "detach go" > with the latter being the default? That's similar to what I suggested originally, though it makes a little more sense. If other people like it I'll switch, but I don't really think it's better than disconnect. -- Daniel Jacobowitz MontaVista Software Debian GNU/Linux Developer