From: Andrew Cagney <ac131313@redhat.com>
To: liu lijuan <lljchina@hotmail.com>
Cc: gdb@sources.redhat.com
Subject: Re: a question about gdb and simulator
Date: Thu, 27 Feb 2003 16:36:00 -0000 [thread overview]
Message-ID: <3E5E3F0D.1080308@redhat.com> (raw)
In-Reply-To: <F84byfA34cnFqUob5MF00027426@hotmail.com>
>>
>>Assuming you have the GDB sources in front of you, look at the file
>>"src/include/gdb/remote-sim.h". It defines the GDB-SIM interfaces that
>>GDB currently uses.
>>
>>Also, I'd not dismiss the "remote" method. Some simulators use that
>>interface as well.
>
>> >Andrew
> Thank you very much! It is very important to us. But I have some questions
> on remote debugging. Does it include the debugging of built-in cpu simulator
> by inputting "target sim" and the debugging using remote serial protocol to
> communicate by inputting "target remote xxxx"?
If the simulator is not built-in, you would any of:
(gdb) target remote host:port
(gdb) target remote |simulator
(gdb) target extended-remote <same-choices>
The option `|simulator' is probably the most useful. It talks remote
protocol on stdin/stdout.
Andrew
next parent reply other threads:[~2003-02-27 16:36 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <F84byfA34cnFqUob5MF00027426@hotmail.com>
2003-02-27 16:36 ` Andrew Cagney [this message]
2003-02-27 18:04 ` Problems outputting a string jacques
2003-02-27 18:14 ` jacques
2003-02-27 19:27 ` Daniel Jacobowitz
2003-02-26 18:04 a question about gdb and simulator Fyles, Matthew
-- strict thread matches above, loose matches on Subject: below --
2003-02-26 13:06 liu lijuan
2003-02-26 14:51 ` 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=3E5E3F0D.1080308@redhat.com \
--to=ac131313@redhat.com \
--cc=gdb@sources.redhat.com \
--cc=lljchina@hotmail.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