From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15917 invoked by alias); 13 Feb 2002 06:41:19 -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 15849 invoked from network); 13 Feb 2002 06:41:18 -0000 Received: from unknown (HELO nevyn.them.org) (128.2.145.6) by sources.redhat.com with SMTP; 13 Feb 2002 06:41:18 -0000 Received: from drow by nevyn.them.org with local (Exim 3.34 #1 (Debian)) id 16at6P-00050w-00; Wed, 13 Feb 2002 01:41:13 -0500 Date: Tue, 12 Feb 2002 22:41:00 -0000 From: Daniel Jacobowitz To: Andrew Cagney Cc: gdb@sources.redhat.com Subject: Re: MI and remote debugging Message-ID: <20020213014113.A19138@nevyn.them.org> Mail-Followup-To: Andrew Cagney , gdb@sources.redhat.com References: <20020209230329.A7834@nevyn.them.org> <3C6A06FC.4090609@cygnus.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3C6A06FC.4090609@cygnus.com> User-Agent: Mutt/1.3.23i X-SW-Source: 2002-02/txt/msg00201.txt.bz2 On Wed, Feb 13, 2002 at 01:26:04AM -0500, Andrew Cagney wrote: > >Any remote config (like gdbserver, or even monitor, I think...) that > >overrides gdb_target_cmd/gdb_file_cmd loses because of the static mi > >version > >in mi-support.exp. This leads to almost a day's worth of timeouts. I've > >tried to cobble together a gdbserver version of mi_gdb_file_cmd and an > >mi-aware mi_gdb_target_cmd; I can't do it. > > > >Andrew, any thoughts? > > For targets other than ``target remote'' I don't think we need to be too > concerned. However, ``target remote'' variants should work. I know it > works for SID (a remote simulator). > > Can you expand a little. For target remote it does not necessarily work. Look at config/gdbserver.exp to see what you need to do to spawn a gdbserver on load; mi overrides that function entirely. The comment "# ``gdb_file_cmd''" in mi_gdb_file_cmd appears to be as close as we come to thinking about this. -- Daniel Jacobowitz Carnegie Mellon University MontaVista Software Debian GNU/Linux Developer