gdb 调试SIGTRAP
作者:互联网
gdb 调试任何程序都提示 “Program received signal SIGTRAP, Trace/breakpoint trap.”
(gdb) handle SIGTRAP nostop pass
SIGTRAP is used by the debugger.
Are you sure you want to change it? (y or n) Y
Signal Stop Print Pass to program Description
SIGTRAP No Yes Yes Trace/breakpoint trap
(gdb) c
Continuing.
Program terminated with signal SIGTRAP, Trace/breakpoint trap.
The program no longer exists.
标签:Trace,SIGTRAP,gdb,Program,trap,breakpoint,调试 来源: https://www.cnblogs.com/liujunhuasd/p/16282259.html