From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 128585 invoked by alias); 13 Sep 2019 12:47:41 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 128402 invoked by uid 89); 13 Sep 2019 12:47:41 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-3.9 required=5.0 tests=AWL,BAYES_00,GIT_PATCH_2 autolearn=ham version=3.3.1 spammy= X-HELO: smtp.CeBiTec.Uni-Bielefeld.DE Received: from smtp.CeBiTec.Uni-Bielefeld.DE (HELO smtp.CeBiTec.Uni-Bielefeld.DE) (129.70.160.84) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 13 Sep 2019 12:47:40 +0000 Received: from localhost (localhost.CeBiTec.Uni-Bielefeld.DE [127.0.0.1]) by smtp.CeBiTec.Uni-Bielefeld.DE (Postfix) with ESMTP id 520BB81C for ; Fri, 13 Sep 2019 14:47:38 +0200 (CEST) Received: from smtp.CeBiTec.Uni-Bielefeld.DE ([127.0.0.1]) by localhost (malfoy.CeBiTec.Uni-Bielefeld.DE [127.0.0.1]) (amavisd-new, port 10024) with LMTP id os2kzCGNTNeJ for ; Fri, 13 Sep 2019 14:47:36 +0200 (CEST) Received: from itzacchiuatl.CeBiTec.Uni-Bielefeld.DE (itzacchiuatl.CeBiTec.Uni-Bielefeld.DE [129.70.161.157]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.CeBiTec.Uni-Bielefeld.DE (Postfix) with ESMTPS id C170581B for ; Fri, 13 Sep 2019 14:47:36 +0200 (CEST) Received: (from ro@localhost) by itzacchiuatl.CeBiTec.Uni-Bielefeld.DE (8.15.2+Sun/8.15.2/Submit) id x8DCla6t014906; Fri, 13 Sep 2019 14:47:36 +0200 (CEST) From: Rainer Orth To: gdb-patches@sourceware.org Subject: Re: [PATCH] Fix expected received signal message in testsuite References: Date: Fri, 13 Sep 2019 12:47:00 -0000 In-Reply-To: (Rainer Orth's message of "Thu, 05 Sep 2019 14:04:06 +0200") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (usg-unix-v) MIME-Version: 1.0 Content-Type: text/plain X-IsSubscribed: yes X-SW-Source: 2019-09/txt/msg00236.txt.bz2 Ping? It's been more than a week. > Quite a number of tests FAIL on Solaris due to a mismatch between > expected and received messages: the testsuite expects something like > > Program received signal SIGABRT, Aborted. > > while on Solaris it gets > > Thread 2 received signal SIGABRT, Aborted. > > For a simple testcase, info threads shows > > (gdb) info threads > Id Target Id Frame > 1 LWP 1 main () at /vol/src/gnu/gdb/doc/bugs/ua.c:5 > * 2 Thread 1 (LWP 1) main () at /vol/src/gnu/gdb/doc/bugs/ua.c:5 > > I suspect this is due to support for the old pre-Solaris 9 MxN thread > model where user level threads were mapped to a different set of lwps. > > For the moment, I'm dealing with this by allowing both forms of the > message in the testsuite. The patch is almost completely mechanical, > with the exception of gdb.base/sigbpt.exp where the introduction of a > new group in the RE required adjustments in the $expect_out indices. > > Tested on sparcv9-sun-solaris2.11, x86_64-pc-solaris2.11, and > x86_64-pc-linux-gnu. Ok for master? > > Rainer -- ----------------------------------------------------------------------------- Rainer Orth, Center for Biotechnology, Bielefeld University