From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id cGaoCMmZHGRbqhcAWB0awg (envelope-from ) for ; Thu, 23 Mar 2023 14:26:17 -0400 Received: by simark.ca (Postfix, from userid 112) id 211D11E223; Thu, 23 Mar 2023 14:26:17 -0400 (EDT) Authentication-Results: simark.ca; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.a=rsa-sha256 header.s=default header.b=J8/X7v09; dkim-atps=neutral X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-5.3 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 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 CD0BE1E0D3 for ; Thu, 23 Mar 2023 14:26:16 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 296443850203 for ; Thu, 23 Mar 2023 18:26:16 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 296443850203 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1679595976; bh=XWbbVL1OR4+Hs5Lfkiyh0eNMQ1/+SQ03QrEZpadvtdY=; h=Date:To:Cc:Subject:In-Reply-To:References:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From:Reply-To:From; b=J8/X7v09FOKsgb9VRkFiA+AExgh3OLUIJk6jGPdXP6VMlq4NnYshN7yYG5QTgiNNZ Y7j6WQCv2mQlfzNBrFZvAEUOjxbvudIDucPmyl7RC1lwumzi5KjgAupHU8en3bGf4Z ki1NDyZ+Wk/Czfffopo6nJxSYC9V6dA9slWUe1x0= 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 D5D843858CDB for ; Thu, 23 Mar 2023 18:25:56 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org D5D843858CDB Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-553-CvdIflX5Ph2yEu1hGH8H6A-1; Thu, 23 Mar 2023 14:25:53 -0400 X-MC-Unique: CvdIflX5Ph2yEu1hGH8H6A-1 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.rdu2.redhat.com [10.11.54.1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id E14A83C10C70; Thu, 23 Mar 2023 18:25:52 +0000 (UTC) Received: from f37-zws-nv (unknown [10.2.16.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 833FB40CF8F2; Thu, 23 Mar 2023 18:25:52 +0000 (UTC) Date: Thu, 23 Mar 2023 11:25:51 -0700 To: Luis Machado via Gdb-patches Cc: Luis Machado Subject: Re: [PATCH, v2] aarch64: Check for valid inferior thread/regcache before reading pauth registers Message-ID: <20230323112551.66e4da4f@f37-zws-nv> In-Reply-To: <20230323105619.9151-1-luis.machado@arm.com> References: <20230316103904.1947447-1-luis.machado@arm.com> <20230323105619.9151-1-luis.machado@arm.com> Organization: Red Hat MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.1 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 Errors-To: gdb-patches-bounces+public-inbox=simark.ca@sourceware.org Sender: "Gdb-patches" On Thu, 23 Mar 2023 10:56:19 +0000 Luis Machado via Gdb-patches wrote: > Changes in v2: > > - Dropped helper functions and used inferior_ptid/current_inferior () > instead. Changes are now aarch64-specific. A bug which your patch fixes had been reported in Fedora bugzilla; see: https://bugzilla.redhat.com/show_bug.cgi?id=2177655 I made a scratch build using your v1 patch and one user reported the bug fixed. I've looked over your v2 patch and it looks good to me. Kevin