From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.polymtl.ca (smtp.polymtl.ca [132.207.4.11]) by sourceware.org (Postfix) with ESMTPS id 49045383B428 for ; Mon, 7 Jun 2021 15:02:41 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 49045383B428 Received: from simark.ca (simark.ca [158.69.221.121]) (authenticated bits=0) by smtp.polymtl.ca (8.14.7/8.14.7) with ESMTP id 157F2YGP017470 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 7 Jun 2021 11:02:39 -0400 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp.polymtl.ca 157F2YGP017470 Received: from [10.0.0.11] (192-222-157-6.qc.cable.ebox.net [192.222.157.6]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPSA id 86DA01E813; Mon, 7 Jun 2021 11:02:34 -0400 (EDT) Subject: Re: [PATCH] gdb: set only inferior_ptid in sparc_{fetch, store}_inferior_registers To: Joel Brobecker , Simon Marchi via Gdb-patches References: <20210531011648.3727731-1-simon.marchi@polymtl.ca> <20210606145225.GA576970@adacore.com> <177ddcce-138e-8b58-0ee8-ec83474b348c@polymtl.ca> From: Simon Marchi Message-ID: Date: Mon, 7 Jun 2021 11:02:34 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: <177ddcce-138e-8b58-0ee8-ec83474b348c@polymtl.ca> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Poly-FromMTA: (simark.ca [158.69.221.121]) at Mon, 7 Jun 2021 15:02:34 +0000 X-Spam-Status: No, score=-4.0 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, NICE_REPLY_A, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_PASS, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Jun 2021 15:02:51 -0000 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