This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Another question about embeddedICE.
- To: Fabrice_Gautier at sdesigns dot com
- Subject: Re: [ECOS] Another question about embeddedICE.
- From: Bart Veer <bartv at redhat dot com>
- Date: Fri, 28 Jul 2000 16:14:33 +0100
- CC: ecos-discuss at sourceware dot cygnus dot com
- References: <21DDE8E5343ED411840A00A0CC3340201047FA@EXCHANGE5_5>
- Reply-to: bartv at redhat dot com
>>>>> "Fabrice" == Fabrice Gautier <Fabrice_Gautier@sdesigns.com> writes:
Fabrice> As it is not possible to have multithread debugging with
Fabrice> EmbeddedICE devices (like JEENI) I would like to know if
Fabrice> anyone think it is possible to use the JEENI to download
Fabrice> the application (as it use Ethernet it's faster and more
Fabrice> reliable) and then use the gdb stubs to do the debugging.
Fabrice> (with multithread and all)
Theoretically possible. The downloaded application should contain gdb
stubs and start running them, then gdb should be able to connect to
the target, and continue or run the application without using a load
command.
Of course there may be a few problems when it comes to the little
details, e.g. how does gdb know that the code is already present on
the target side? Does it check, or can you just issue e.g. a
jump instruction at the gdb prompt?
I suggest asking on the appropriate gdb mailing list, see
http://sources.redhat.com/gdb/ for details. Searching that mailing
list for phrases like "connect" might also give some useful hints.
Bart Veer // eCos net maintainer