From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id 1FYyEVpwgWEfHwAAWB0awg (envelope-from ) for ; Tue, 02 Nov 2021 13:07:38 -0400 Received: by simark.ca (Postfix, from userid 112) id 2D5511F0C1; Tue, 2 Nov 2021 13:07:38 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-1.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id 5A7921E940 for ; Tue, 2 Nov 2021 13:07:37 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id D214D3858023 for ; Tue, 2 Nov 2021 17:07:36 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D214D3858023 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1635872856; bh=QdMF217Ud39jSImS6dc6aaLDH5UftzxJpMARrA+I7Y8=; h=Date:To:Subject:In-Reply-To:References:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=LZ0yIUCpWAo5Fst5CKbu1CV+TJRMXLyXyOPeV5RpxmNyItNafur7w4pMJdo9YFlNn 3VIHk1YUZb/fpoH+rOH4h5bjZUc8fTVgcvZMfN7ilp8R0Hs3M5L01gd42VR8iOan1r Jh0YwM+dMjX1Z+P+9Wwq2QoWNp1B2W01UDTvzzwg= Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by sourceware.org (Postfix) with ESMTPS id 0C3F3385801D for ; Tue, 2 Nov 2021 17:06:28 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 0C3F3385801D Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-181-gJmKJJwaMDOgKlVOYO1JfQ-1; Tue, 02 Nov 2021 13:06:24 -0400 X-MC-Unique: gJmKJJwaMDOgKlVOYO1JfQ-1 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 85654101AFC7; Tue, 2 Nov 2021 17:06:23 +0000 (UTC) Received: from f35-m1 (ovpn-114-255.phx2.redhat.com [10.3.114.255]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 610295F4F5; Tue, 2 Nov 2021 17:06:23 +0000 (UTC) Date: Tue, 2 Nov 2021 10:06:21 -0700 To: Tom de Vries Subject: Re: [PATCH][gdb/testsuite] Handle SIGILL in two gdb.arch powerpc test-cases Message-ID: <20211102100621.74a1d96a@f35-m1> In-Reply-To: <20211029194516.GA27121@delia> References: <20211029194516.GA27121@delia> Organization: Red Hat MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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: , From: Kevin Buettner via Gdb-patches Reply-To: Kevin Buettner Cc: gdb-patches@sourceware.org Errors-To: gdb-patches-bounces+public-inbox=simark.ca@sourceware.org Sender: "Gdb-patches" On Fri, 29 Oct 2021 21:45:18 +0200 Tom de Vries wrote: > On powerpc64le-linux, with test-case gdb.arch/powerpc-addpcis.exp I run into > SIGILL: > ... > (gdb) PASS: gdb.arch/powerpc-addpcis.exp: get hexadecimal valueof "$r3" > stepi^M > ^M > Program terminated with signal SIGILL, Illegal instruction.^M > The program no longer exists.^M > (gdb) PASS: gdb.arch/powerpc-addpcis.exp: set r4 > ... > because it's a power9 insn, and I'm running on a power8 machine. > > Fix this by handling the SIGILL. Likewise in gdb.arch/powerpc-lnia.exp. > > Tested on powerpc64le-linux. > > Any comments? LGTM. Kevin