[ECOS] Debugging thread application with gdb and MacRaigor ICE JTAG
Thu Apr 6 10:59:00 GMT 2006
On Thu, Apr 06, 2006 at 12:15:36PM +0200, Jaws wrote:
> Hi all,
> I am using to debug a multi-thread application a Macraigor JTAG ICE
> mpDemon by
> on my platform based on AT91M55800A.
> I'm using the gdb version 6.1 provided by Macraigor and I enabled the
> "Include GDB multi-threading debug support" in eCos Hal and in eCos Kernel.
This will not work with JTAG. Enabling this adds a couple of functions
to the gdb stub to allow access to thread info. But when using JTAG
the gdb stub is not used, it directly reads/writes to memory and CPU
> Trying to enable the 'Support GDB thread operations via ICE/Multi-ICE' the
> appplication doesn't start and this output appear on the serial console:
gdb con the serial port can probably decode this message. It is
probably the output of your program bug mangled in gdb format.
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
More information about the Ecos-discuss