* native gdb+simulator
[not found] <199904130703.AAA16348@cygnus.com>
@ 1999-04-13 3:24 ` Daniel Drotos
1999-04-13 4:41 ` Daniel Drotos
[not found] ` <Pine.SO4.4.00.9904131055330.3707-100000.cygnus.gdb@mazsola>
1 sibling, 1 reply; 4+ messages in thread
From: Daniel Drotos @ 1999-04-13 3:24 UTC (permalink / raw)
To: gdb
Hi,
Is it possible to include a simultor if gdb is configured for the
host's target?
I mean, for example I config and compile on elf32-i386 (e.g. linux)
and I'd like to use this bfd target to read in the file to be
debugged, but use a (own written) simulator to actually execute the
code.
Is it possible to hack feature like this into the gdb without
introducing a new bfd target?
Daniel
^ permalink raw reply [flat|nested] 4+ messages in thread* native gdb+simulator
1999-04-13 3:24 ` native gdb+simulator Daniel Drotos
@ 1999-04-13 4:41 ` Daniel Drotos
0 siblings, 0 replies; 4+ messages in thread
From: Daniel Drotos @ 1999-04-13 4:41 UTC (permalink / raw)
To: gdb
Hi,
Is it possible to include a simultor if gdb is configured for the
host's target?
I mean, for example I config and compile on elf32-i386 (e.g. linux)
and I'd like to use this bfd target to read in the file to be
debugged, but use a (own written) simulator to actually execute the
code.
Is it possible to hack feature like this into the gdb without
introducing a new bfd target?
Daniel
^ permalink raw reply [flat|nested] 4+ messages in thread
[parent not found: <Pine.SO4.4.00.9904131055330.3707-100000.cygnus.gdb@mazsola>]
* Re: native gdb+simulator
[not found] ` <Pine.SO4.4.00.9904131055330.3707-100000.cygnus.gdb@mazsola>
@ 1999-04-13 21:01 ` Andrew Cagney
1999-04-14 1:53 ` Daniel Drotos
0 siblings, 1 reply; 4+ messages in thread
From: Andrew Cagney @ 1999-04-13 21:01 UTC (permalink / raw)
To: Daniel Drotos; +Cc: gdb
Daniel Drotos wrote:
>
> Hi,
>
> Is it possible to include a simultor if gdb is configured for the
> host's target?
Yes.
> I mean, for example I config and compile on elf32-i386 (e.g. linux)
> and I'd like to use this bfd target to read in the file to be
> debugged, but use a (own written) simulator to actually execute the
> code.
Yes.
> Is it possible to hack feature like this into the gdb without
> introducing a new bfd target?
Yes.
If there is a simulator in the .../sim directory and GDB knows about it
(see gdb/config/*/*.mt) it will be linked in. The file
include/remote-sim.h specifies the interface and the various sim
sub-directories contain examples.
Should I infer that there could be a GPL'd i386 simulator in the making?
Andrew
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: native gdb+simulator
1999-04-13 21:01 ` Andrew Cagney
@ 1999-04-14 1:53 ` Daniel Drotos
0 siblings, 0 replies; 4+ messages in thread
From: Daniel Drotos @ 1999-04-14 1:53 UTC (permalink / raw)
To: Andrew Cagney; +Cc: gdb
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
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~1999-04-14 1:53 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <199904130703.AAA16348@cygnus.com>
1999-04-13 3:24 ` native gdb+simulator Daniel Drotos
1999-04-13 4:41 ` Daniel Drotos
[not found] ` <Pine.SO4.4.00.9904131055330.3707-100000.cygnus.gdb@mazsola>
1999-04-13 21:01 ` Andrew Cagney
1999-04-14 1:53 ` Daniel Drotos
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox