This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: Connecting GDB to simulator
- From: Tim Combs <tcombs at urbana dot css dot mot dot com>
- To: Shrikar <shrikar at poseidontech dot com>
- Cc: gdb at sources dot redhat dot com
- Date: Wed, 18 Sep 2002 08:31:37 -0500
- Subject: Re: Connecting GDB to simulator
- References: <00a701c25edc$1d118a20$1301a8c0@blr.vsnl.net.in>
Yes. The solution is to create a remote target that connects to
your simulator. Inside your simulator you will need to add the
gdbserver code to handle the communications packets between your
simulator and gdb. Look in the GDB internals manual chapter
10 for adding targets.
Tim
On Wed, Sep 18, 2002 at 11:54:17AM +0530, Shrikar wrote:
> Hi List,
> Just wanted to know one small thing .
> Is there any way by which I can connect GDB to a *Simulator* instead of an
> actual target ?
> If 'Yes' where can I get the information as to how GDB should be configured
> so that it uses the *Simulator interfaces* instead of any
> other native syscalls or JTAG ports ?
>
> Thanx in advance,
>
>
> Shrikar.