This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Connecting GDB to simulator


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]