[PATCH] gdb: set only inferior_ptid in sparc_{fetch, store}_inferior_registers

Simon Marchi simon.marchi@polymtl.ca
Mon Jun 7 15:02:34 GMT 2021


On 2021-06-06 11:02 a.m., Simon Marchi via Gdb-patches wrote:
> On 2021-06-06 10:52 a.m., Joel Brobecker wrote:
>> Thanks for the patch. This looks good to me. Were you able to run
>> the testsuite on the patch? If not, I could probably run it against
>> AdaCore's testsuite on a LEON3 baremetal target -- not as good as
>> the full official testsuite on a SPARC/Linux machine, but better
>> than nothing...
> 
> I will run it on the machine I used for testing this (gcc102).  If it
> looks good I'll merge the patch.
> 
> Simon
> 

Without the patch, the testsuite wouldn't finish in reasonable time
because of too many internal errors when it deals with threaded code.
With the patch, it finishes with:


                    === gdb Summary ===

    # of expected passes            73610
    # of unexpected failures        1311
    # of expected failures          67
    # of unknown successes          1
    # of known failures             111
    # of unresolved testcases       8
    # of untested testcases         64
    # of unsupported tests          180
    # of duplicate test names       87

So I consider that the patch helps, I'll merge it.

Simon


More information about the Gdb-patches mailing list