This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: build gdb with simulator
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