gdb里调试信号处理函数

要执行handle signum nostop
这样在收到信号的时候gdb就不会暂停执行
对于SIGINT,还需要
handle SIGINT pass
这样SIGINT信号就不会被gdb所截住,而是发给正在debug中的程序

Comments

Popular posts from this blog

Ripple's XRP: Giving the Third-Largest Cryptocurrency a Second Look

Illinois Is Venezuela and the Solution Is Cryptocurrency