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] Fix failure to detach if threads exit while detaching on linux


On 06/03/2016 12:55 PM, Antoine Tremblay wrote:

> I did that because I though they could not detach...
> 
> Any suggestion on how to limit this to targets that can detach ?.. 

I have trouble thinking of a target that wouldn't be able to detach.
And then it'd have to be a target that supports pthreads, otherwise
the test won't even run.

> call detach see if it suceeds or there's a better way ?

Right.  But I'd just start by assuming it works.  Just make
sure that --target_board=native-gdbserver passes.

Thanks,
Pedro Alves


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