From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16503 invoked by alias); 19 May 2004 19:25: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 16462 invoked from network); 19 May 2004 19:25:31 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sourceware.org with SMTP; 19 May 2004 19:25:31 -0000 Received: from drow by nevyn.them.org with local (Exim 4.33 #1 (Debian)) id 1BQWgx-0006H0-1Q; Wed, 19 May 2004 15:25:27 -0400 Date: Wed, 19 May 2004 19:25:00 -0000 From: Daniel Jacobowitz To: Jon Beniston Cc: gdb@sources.redhat.com Subject: Re: Remote/simulator differences Message-ID: <20040519192527.GA24049@nevyn.them.org> Mail-Followup-To: Jon Beniston , gdb@sources.redhat.com References: <000c01c43dd3$f4e92390$04bda8c0@srce> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <000c01c43dd3$f4e92390$04bda8c0@srce> User-Agent: Mutt/1.5.5.1+cvs20040105i X-SW-Source: 2004-05/txt/msg00132.txt.bz2 On Wed, May 19, 2004 at 08:03:22PM +0100, Jon Beniston wrote: > Hi, > > I'm doing some work trying to get GDB to work with the eclipse IDE. > However, I can't get my head around a difference between simulator and > remote targets. With the simulator, I can do: > > cpu-elf-gdb prog.x > target sim > load > run > > And the program runs fine. However, with a remote target, when I execute > run, it says the program has already started: > > cpu-elf-gdb prog.x > target remote /dev/com1 > load > run > The program being debugged has been started already. > Start it from the beginning? (y or n) > > What's causing it to think that the program has already been started? Is > it possible that something in the remote stub is causing this? Any > insight would be appreciated. I'm using GDB 6.0. For remote, the appropriate command is "continue", or sometimes "jump". It depends on your particular target and monitor. -- Daniel Jacobowitz