This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: BDI JTAG debugger and threads
- From: "Gary Thomas" <gary at mlbassoc dot com>
- To: Øyvind Harboe <oyvind dot harboe at zylin dot com>
- Cc: ecos-discuss at sources dot redhat dot com
- Date: Fri, 2 Apr 2004 07:45:04 -0700 (MST)
- Subject: Re: [ECOS] BDI JTAG debugger and threads
- References: <1080912147.23636.1.camel@famine>
Øyvind Harboe said:
> Is it possible to to get GDB threads support when running with a JTAG
> debugger?
>
> I'm debugging a deadlock in lwIP on EB40a running SLIP, and this would
> be most welcome.
Not without a whole lot of work - GDB needs to ask the JTAG (which is
talking the GDB protocol, I presume) about the thread information. The
JTAG device in turn would need to know these details. On eCos, the
details are hard to come by, since there's no fixed thread table, etc.,
all of the internal thread structures have to be walked. This is more
than one might want to do in the JTAG box (and I doubt it has been done).
We did make this work sometime in the past, but it was complicated and
IIRC never was released.
Short summary, sorry but no.
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss