* build gdb with simulator
@ 2004-02-13 12:04 Vineet Sharma, Noida
2004-02-13 14:51 ` Andrew Cagney
0 siblings, 1 reply; 2+ messages in thread
From: Vineet Sharma, Noida @ 2004-02-13 12:04 UTC (permalink / raw)
To: gdb
Hi
I am building a simulator for new 16-bit processor, now i want to
integrate it with gdb, so how do tell gdb about my simulator. I tried
building by
../configure -target=XXX-coff --enable-sim-XXX=yes -v
--prefix=/home/vineet/gdb-6.0/
and the simulator code is in sim/XXX directory.
So what Makefile and config file i need to midify for integrating my
simulator with gdb?
Regards
Vineet
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: build gdb with simulator
2004-02-13 12:04 build gdb with simulator Vineet Sharma, Noida
@ 2004-02-13 14:51 ` Andrew Cagney
0 siblings, 0 replies; 2+ messages in thread
From: Andrew Cagney @ 2004-02-13 14:51 UTC (permalink / raw)
To: Vineet Sharma, Noida; +Cc: gdb
> Hi
> I am building a simulator for new 16-bit processor, now i want to
> integrate it with gdb, so how do tell gdb about my simulator. I tried
> building by
>
> ../configure -target=XXX-coff --enable-sim-XXX=yes -v
> --prefix=/home/vineet/gdb-6.0/
>
> and the simulator code is in sim/XXX directory.
>
>
> So what Makefile and config file i need to midify for integrating my
> simulator with gdb?
At present gdb/config/*/*.mt, for instance:
./src/gdb/config/mips/embed.mt:
> TDEPFILES= mips-tdep.o remote-mips.o
> TM_FILE= tm-mips.h
> SIM_OBS = remote-sim.o
> SIM = ../sim/mips/libsim.a
there are some change-requests suggesting ways to simplify it:
Flattern sim/ makefile structure
http://sources.redhat.com/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gdb&pr=1315
sim/null/ as the default simulator
http://sources.redhat.com/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gdb&pr=429
sim/libsim.a
http://sources.redhat.com/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gdb&pr=428
Andrew
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-02-13 14:51 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-02-13 12:04 build gdb with simulator Vineet Sharma, Noida
2004-02-13 14:51 ` Andrew Cagney
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox