From: Daniel Jacobowitz <drow@false.org>
To: Jon Beniston <jon@beniston.com>
Cc: gdb@sources.redhat.com
Subject: Re: Remote/simulator differences
Date: Wed, 19 May 2004 19:25:00 -0000 [thread overview]
Message-ID: <20040519192527.GA24049@nevyn.them.org> (raw)
In-Reply-To: <000c01c43dd3$f4e92390$04bda8c0@srce>
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
next prev parent reply other threads:[~2004-05-19 19:25 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-05-19 19:16 Jon Beniston
2004-05-19 19:25 ` Daniel Jacobowitz [this message]
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=20040519192527.GA24049@nevyn.them.org \
--to=drow@false.org \
--cc=gdb@sources.redhat.com \
--cc=jon@beniston.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