This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


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

Re: Another question about embeddedICE.


>>>>> "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

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