This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: SIGINT & signal handler vs Linux kernel...


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]