This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch] ser-pipe.c (pipe_open): Ignore SIGINTs in child.
- From: Tom Tromey <tromey at redhat dot com>
- To: dje at google dot com (Doug Evans)
- Cc: gdb-patches at sourceware dot org
- Date: Tue, 27 Apr 2010 11:43:57 -0600
- Subject: Re: [patch] ser-pipe.c (pipe_open): Ignore SIGINTs in child.
- References: <20100427035220.0C02F84C2B@ruffy.mtv.corp.google.com>
- Reply-to: tromey at redhat dot com
>>>>> "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