From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21323 invoked by alias); 29 May 2002 18:21:32 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 21300 invoked from network); 29 May 2002 18:21:30 -0000 Received: from unknown (HELO saturn.billgatliff.com) (209.251.101.200) by sources.redhat.com with SMTP; 29 May 2002 18:21:30 -0000 Received: by saturn.billgatliff.com (Postfix, from userid 500) id A45FD142063; Wed, 29 May 2002 13:21:29 -0500 (CDT) Date: Wed, 29 May 2002 11:21:00 -0000 From: "William A. Gatliff" To: Paul Breed Cc: gdb@sources.redhat.com Subject: Re: Remote Stub operation. Message-ID: <20020529132129.B11478@saturn.billgatliff.com> Reply-To: bgat@billgatliff.com References: <4.2.0.58.20020529085110.020bb1e0@mail.netburner.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <4.2.0.58.20020529085110.020bb1e0@mail.netburner.com>; from Paul@Netburner.com on Wed, May 29, 2002 at 09:23:50AM -0400 X-SW-Source: 2002-05/txt/msg00322.txt.bz2 Paul: If your stub uses interrupt-driven receive, it could just interrupt the main aplication when it gets the connect commands from gdb. b.g. On Wed, May 29, 2002 at 09:23:50AM -0400, Paul Breed wrote: > I'm working with a remote serial stub. > I completely understand the protocol definition, > but I am looking for some input on the logical operation of the system. > > When my stub starts up the stub setup code has a built in breakpoint > where it stops and waits for GDB, this works well. > > However I would like to have the system start up and run normally while > it waits for GDB to connect. > > How should the stub respond when the application is already running? > > Is there anyway to have GDB try to stop the target if the normal target > connect fails. > > > > Paul > > > > -- Bill Gatliff bgat@billgatliff.com