Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: "Jon Beniston" <jon@beniston.com>
To: <gdb@sources.redhat.com>
Subject: Remote/simulator differences
Date: Wed, 19 May 2004 19:16:00 -0000	[thread overview]
Message-ID: <000c01c43dd3$f4e92390$04bda8c0@srce> (raw)

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


             reply	other threads:[~2004-05-19 19:16 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-19 19:16 Jon Beniston [this message]
2004-05-19 19:25 ` Daniel Jacobowitz
2004-05-19 21:36   ` Jon Beniston
2004-05-21 15:06     ` Andrew Cagney

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='000c01c43dd3$f4e92390$04bda8c0@srce' \
    --to=jon@beniston.com \
    --cc=gdb@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox