[coldfire-gnu-discuss] m5272, gdb/gdbserver and uClinux/pthreads... again
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[coldfire-gnu-discuss] m5272, gdb/gdbserver and uClinux/pthreads... again



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