From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jonathan Larmour To: Stefan Syberichs Cc: ecos-discuss@sources.redhat.com Subject: Re: [ECOS] Debugging multi-threaded eCos application using GDB Date: Fri, 03 Aug 2001 06:21:00 -0000 Message-id: <3B6AA556.116C3DA4@redhat.com> References: X-SW-Source: 2001-08/msg00115.html Stefan Syberichs wrote: > > Hello, > > We have a similar problem like Nadine: > Debugging an eCos application for the linux target is hard, because gdb is > not aware of > the eCos threads. > > > We do have some ideas on how to fix this properly, basically making > > the thread-aware debugging inside gdb much more flexible, but so far > > nobody has been willing to contribute or fund any of the work > > involved. > > > Bart > > Bart, what exactly are the ideas for gdb ? Or does anybody have a solution > meanwhile ? Actually I would have thought the easiest route would be to allow included stubs in the synth target to be available at a socket, and then using the remote protocol. Making it available as a socket should "just" be a case of adding a virtual vectored comm interface. It's probably a bit too much work for us to just do for fun, particularly since the synth target doesn't use virtual vectors at all right now. Jifl -- Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062 Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine