[PATCH] gdbserver: handle running threads in qXfer:threads:read

Pedro Alves pedro@palves.net
Wed Jul 22 11:46:34 GMT 2020


On 7/22/20 5:15 AM, Kevin Buettner wrote:
> On Wed, 22 Jul 2020 02:43:24 +0100
> Pedro Alves <pedro@palves.net> wrote:
> 
>> On some systems, the gdb.multi/multi-target.exp testcase occasionally
>> fails...
> 
> I've applied your patch on my local machines and have run the
> following command repeatedly on builds on F28, F31, F32, and Rawhide:
> 
> make check RUNTESTFLAGS="--target_board unix" TESTS="gdb.multi/multi-target.exp"
> 
> Each test run on all four machines reports:
> 
> # of expected passes		486
> 
> To put this in context, I never saw that result on the machines in
> question without your patch.  Without your patch, there were *always*
> unexpected failures and untested testcases and, moreover, the numbers
> reported would frequently vary from one run to the next.
> 
> So, a definite (and very welcome) improvement!

Great!  I've merged the fix with Tankut's comments addressed.

Thanks,
Pedro Alves



More information about the Gdb-patches mailing list