GDB Debugging: Application Terms with SIGTRAP

Tried to remotely debug an application running on my target using GDB. The target is Armv6, the OS is Linux, and the application is a multi-threaded QT-based application.

I can set a breakpoint. But when the break point is hit, the program breaks with SIGTRAP.

Hint: I can run another small example of a multi-threaded QT application for the same purpose.

What could be the problem?

GDB Login as follows

Breakpoint 1 at 0x4ad52c: file <>, <>. (2 locations) (gdb) c Continued.

The program terminated with a SIGTRAP signal, Trace / breakpoint trap. The program no longer exists. (gdb)

(Gdb)

+5
source share

All Articles