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: [RFA] Don't immediately SIGTERM the child of "target remote |".


On Thu, Dec 1, 2011 at 11:49 AM, Jan Kratochvil
<jan.kratochvil@redhat.com> wrote:
> On Thu, 01 Dec 2011 20:46:35 +0100, Doug Evans wrote:
>> +extern int wait_to_die_with_timeout (int pid, int *status, int timeout);
> ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?pid_t pid
> just a nitpick

I thought of that but punted on portability grounds.
There are lots of places in gdb that still use int.

It *would* be preferable.
And the code does live inside #ifdef HAVE_WAITPID.


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