SIGINT & signal handler vs Linux kernel...
Daniel Jacobowitz
drow@false.org
Mon Aug 17 00:54:00 GMT 2009
On Thu, Aug 13, 2009 at 12:47:00PM -0700, Joel Brobecker wrote:
> Hello,
>
> We just noticed something really odd: When debugging a threaded program
> that has a SIGINT handler, pressing ctrl-c no longer interrupts that
> program (we attached the debugger to the process, not sure if this
> does make a difference or not). Instead, the program simply executes
> the signal handler.
What is the thread doing when you send Ctrl-C? Bug 9425 is specific
to the sigwait system call, I believe. If there's nothing special
about the threaded program, it's likely some other problem.
--
Daniel Jacobowitz
CodeSourcery
More information about the Gdb
mailing list