This is the mail archive of the gdb@sourceware.cygnus.com mailing list for the GDB project. See the GDB home page for more information.


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

Re: native gdb+simulator


On Wed, 14 Apr 1999, Andrew Cagney wrote:

[ ... ]
Thanks for the info!

> Should I infer that there could be a GPL'd i386 simulator in the making?

No. We are working on GPL'd development environment for MCS51 based
micros. C compiler is working now, simulator is ready too. It would be
nice to use gdb as a sphisticated interface to the simulator.

My idea is that hex file generated by the compiler/linker could be
placed in an empty elf file, for example in a .mcs51code section which
could be passed to the simulator by the gdb-sim interface. If the
compiler could produce debug info in stab format then it could be
included into that empty 'template' elf file too, so gdb could debug
it, I hope.

So it doesn't matter what the native target is, any kind of elf could
be usabe I think.

Daniel