This is the mail archive of the
mailing list for the GDB project.
Re: SIGINT & signal handler vs Linux kernel...
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.