thread debugging gdbserver gdb
I am using the AVR32 AP7000 cpu from Atmel. My problem is that I am not able to debugging multi-threaded application on the target.
I am using buildroot to create images to the CPU. This buildroot is only a couple of weeks old. In this buildroot I have tried to enable for thread debugging support, and I have tried to used NPTL instead of linuxthread.
The target is then using gdbserver, and the host avr32-linux-gdb
avr32-linux-gdb is of version 6.7.1.
The problem is that the multi-threaded application works fine when not debugging it, just run it normaly. When I tries to debugging it, the debugger only exits with return code 0, even if it should not because I do use while(1); , breakpoints and printf in my code(Do not se any print on the screen). The termination of the program happens when using the pthread_creat() function.
Hope some have some answers.