This is the mail archive of the gdb-patches@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: [patch] ser-pipe.c (pipe_open): Ignore SIGINTs in child.


>>>>> "Doug" == Doug Evans <dje@google.com> writes:

Doug> I was debugging "tar rem | ..." today and found that typing ^c
Doug> killed the child of the pipe.

I think it is preferable to call setsid, so that the child is dissociated
from the controlling terminal.  That way C-c won't send it a SIGINT.

Tom


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