From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9153 invoked by alias); 19 May 2004 19:16:18 -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 9039 invoked from network); 19 May 2004 19:16:15 -0000 Received: from unknown (HELO smtp803.mail.ukl.yahoo.com) (217.12.12.140) by sourceware.org with SMTP; 19 May 2004 19:16:15 -0000 Received: from unknown (HELO srce) (gdb@sources.redhat.com@217.43.124.170 with poptime) by smtp803.mail.ukl.yahoo.com with SMTP; 19 May 2004 19:03:23 -0000 From: "Jon Beniston" To: Subject: Remote/simulator differences Date: Wed, 19 May 2004 19:16:00 -0000 Message-ID: <000c01c43dd3$f4e92390$04bda8c0@srce> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-SW-Source: 2004-05/txt/msg00131.txt.bz2 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. Cheers, JonB