This is the mail archive of the archer@sourceware.org mailing list for the Archer 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: [BUG] gdb: quit hangs after step into signal handler


> Probably gdb should just do kill(tracee, SIGKILL) when it wants
> to terminate the tracee.

That's what I recommend.  (You only need one SIGKILL per process, not one
for each thread.  But if you still support linuxthreads, that will probably
need one for each thread.)  Even if you were paranoid about some old kernel
where PTRACE_KILL might work better (dubious if there are any such, but
that's why it's paranoia), you could do this before PTRACE_KILL and it
should certainly be fine everywhere.


Thanks,
Roland


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