Have been trying to remote debug an application running on my target using GDB. The target is Armv6 based, the OS is linux and the application is a QT based Multithreaded application.
I am able to set the break point. But when the break point is hit, program gets crashed along with SIGTRAP.
Hint: I am able to run another small sample Multithreaded QT-App on the same target.
What could be the problem?
Breakpoint 1 at 0x4ad52c: file <> , <>. (2 locations) (gdb) c Continuing.
Program terminated with signal SIGTRAP, Trace/breakpoint trap. The program no longer exists. (gdb)
You have maybe a solution here:
http://sourceware.org/gdb/wiki/FAQ#GDB_does_not_see_any_threads_besides_the_one_in_which_crash_occurred.3B_or_SIGTRAP_kills_my_program_when_I_set_a_breakpoint.
Hope this help.
Regards.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With