[RFC][gdb/doc] Document non-stop attach behaviour

Tom de Vries tdevries@suse.de
Thu Aug 26 12:46:08 GMT 2021


On 8/26/21 12:08 PM, Tom de Vries wrote:
> On 8/26/21 4:55 AM, Simon Marchi wrote:
>>
>> I think the behavior could be a bit more user friendly, we could wait
>> for all the attached program's threads to have reported their stop
>> before showing the prompt.  Same with the interrupt (with and without
>> "-a") command, we know which threads we expect to become stopped, we
>> could wait for them to be stopped before giving back the prompt.  That
>> would make it easier for scripts: when the attach / interrupt command
>> returns, you know the attached / interrupted threads are stopped and can
>> be inspected.
> 
> Ack, I can file a PR for that.
> 

Filed PR https://sourceware.org/bugzilla/show_bug.cgi?id=28270.

Thanks,
- Tom


More information about the Gdb-patches mailing list