m5272, gdb/gdbserver and uClinux/pthreads... again

Harry Gunnarsson mrharryg at gmail.com
Tue May 18 04:53:01 UTC 2010


Hi,
Back in march 8th I inquired about pthread debugging under uClinux using
gdbserver and Maxim and I had a brief discussion on the topic(you could look
up the thread on codesourcery website). I believe his stance was that it
should work. I tested again using the brand new 4.4-216, but I am still
unsuccessful debugging pthread apps under uclinux.
Recap; this used to work using uclinux 2007 and CodeSourcery 4.2. Now with
newer kernel/distro and newer toolchain, it doesn't work; once doing 'target
remote' from host, gdbserver bails out. Also, debugging non-threaded apps
works perfectly.

BTW, I am using the uClinux distro from uclinux.org.

Some other postings on the mailing lists got me wondered;
- Is there anything in the kernel configuration that is required for
debugging pthreads?

Does anyone had any success doing this kind of debugging?

Thanks in advance,
Harry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sourcerytools.com/pipermail/coldfire-gnu-discuss/attachments/20100517/c3b5ebe0/attachment.html>


More information about the coldfire-gnu-discuss mailing list