GDB to deal with signals
Friday, 3. August 2007, 03:16:45
Normally GDB will stop at any signal receiving event. This becomes very annoying when debug on many specified systems. Some GUI system might use broadcasting signal method to do the IPC. That kind signal will be most probably unuseful for the application you are debugging.
GDB has the method of setting the way of handling signals.
Command: handle
example:
handle SIGUSR1 nostop noprint
GDB has the method of setting the way of handling signals.
Command: handle
example:
handle SIGUSR1 nostop noprint















Anonymous # 3. August 2007, 07:31
Orz.