Hi,
Brettschneider, Falk wrote:
Although I'm one step further than you, I ran into next
problems with my multi-threaded user app. Firstly, every
start of a new thread let the debugger interrupt with a
messagebox "Program received signal SIG32, Real-time event
32" and this callstack:
sigsuspend
__rt_sigsuspend
Secondly, after successfully starting about 5 threads via
pthread_create() gdbserver exits back to command line shell
when executing another call to pthread_create() in my user app:
on target device:
Child exited with retcode = 0
Child exited with status 0
I get just "NO_STACK" in the callstack window of
microblaze-uclinux-gdb on my PC.
Hehehe, I got over that problems by switching on "General Library
Settings"--->"Build pthreads debugging support" in 'make menuconfig' of
uClibc. Now I can debug my user app which is even based on SCHED_RR
threads. :-) Stepping is quite slow but I can set breakpoints and
run/continue until there.
Cheers, Falk
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive :
http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/