[PATCH v2] gdb/infrun: do not restart a stepped thread if not running (was: gdb/infrun: reset thread control's step info in end_stepping_range)

Aktemur, Tankut Baris tankut.baris.aktemur@intel.com
Thu Jun 22 08:01:02 GMT 2023


On Thursday, June 22, 2023 9:40 AM, Bruno Larsen wrote:
> On 22/06/2023 09:02, Aktemur, Tankut Baris wrote:
> > On Wednesday, June 21, 2023 2:35 PM, Bruno Larsen wrote:
> >>> Regression-tested on X86_64 Linux using the default, native-gdbserver,
> >>> and native-extended-gdbserver board files.
> >> Hi Tankut!
> >>
> >> Thanks for working on this. I don't see any regressions, but the test
> >> you added doesn't seem to fail before your change. Does it not work with
> >> the default options for the testsuite?
> > Hi Bruno,
> >
> > Thanks for checking.  The bug condition is triggered when the target is all-stop.
> > Could you please try with --target_board=native-extended-gdbserver ?
> > Then you should see
> >
> >    FAIL: gdb.multi/detach-stepi.exp: detach inferior 1
> >
> >    === gdb Summary ===
> >
> >    # of expected passes            8
> >    # of unexpected failures        1
> >
> Ah got it! I have tested and it fixes the problem :)
> 
> Tested-By: Bruno Larsen <blarsen@redhat.com>

Thank you very much for testing!  I added the label to the commit message.

-Baris


Intel Deutschland GmbH
Registered Address: Am Campeon 10, 85579 Neubiberg, Germany
Tel: +49 89 99 8853-0, www.intel.de <http://www.intel.de>
Managing Directors: Christin Eisenschmid, Sharon Heck, Tiffany Doon Silva  
Chairperson of the Supervisory Board: Nicole Lau
Registered Office: Munich
Commercial Register: Amtsgericht Muenchen HRB 186928


More information about the Gdb-patches mailing list