SIGINT & signal handler vs Linux kernel...

Daniel Jacobowitz drow@false.org
Wed Aug 19 16:16:00 GMT 2009


On Tue, Aug 18, 2009 at 09:29:38AM -0700, Joel Brobecker wrote:
> > 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.
> 
> The thread does have a sigwait handler. Upon receiving the signal,
> the program executes the handler instead of having the debugger
> receive a notification of that signal.

The thing I'm confused about is the implication in your message that
this previously worked.  As far as I know, on GNU/Linux hosts, we've
never been able to handle sigwait properly.

-- 
Daniel Jacobowitz
CodeSourcery



More information about the Gdb mailing list