From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) by sourceware.org (Postfix) with ESMTP id CA0653858D32 for ; Tue, 23 Jan 2024 01:18:24 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org CA0653858D32 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gentoo.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gentoo.org ARC-Filter: OpenARC Filter v1.0.0 sourceware.org CA0653858D32 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=140.211.166.183 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1705972706; cv=none; b=KZWsuo8iHOf3/WfsIOd6IpxVeJ5C/b+baFVMIE4QMuroQjx15c3k1rE+4DnzYXo1qFS2Xxt1FSeSL385MPY3B2kpGoVQ9OX10faGDDcwhUxrUrtO+6Mj+YWj2sW/L2e36mTJc654qHbJUETJfm/nTq/51VO1lrbIS1uqEvdnkh4= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1705972706; c=relaxed/simple; bh=mdccWvDU09Z2LteVx1/RSfZ8D750p4GOjTWqYsoNV60=; h=Date:From:To:Subject:Message-ID:MIME-Version; b=RFkiXSMBWGApvYROyJCAhP6wK4YV5FH4PI4vw/YHX6H7VTqPehbEYyuAdz47mtuaxGzFIxAiJloEykGb6cyyqeAjHT6JYPEvuBiHgu1EmrQ6+79Km72mIBQFmGsgQz2u224Heatogvqd0VwMxD0fv3sX9Mtlr3NQLEwjtXKYMCY= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by smtp.gentoo.org (Postfix, from userid 559) id 63A0C3432FE; Tue, 23 Jan 2024 01:18:24 +0000 (UTC) Date: Mon, 22 Jan 2024 20:18:23 -0500 From: Mike Frysinger To: jaydeep.patil@imgtec.com Cc: gdb-patches@sourceware.org, aburgess@redhat.com, joseph.faulls@imgtec.com, bhushan.attarde@imgtec.com Subject: Re: [PATCH v6 1/2] sim: riscv: Fix crash during instruction decoding Message-ID: References: <20240111052822.1576345-1-jaydeep.patil@imgtec.com> <20240111052822.1576345-2-jaydeep.patil@imgtec.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="DQHvzbC68w/QRWnV" Content-Disposition: inline In-Reply-To: <20240111052822.1576345-2-jaydeep.patil@imgtec.com> X-Spam-Status: No, score=-5.3 required=5.0 tests=BAYES_00,JMQ_SPF_NEUTRAL,KAM_DMARC_STATUS,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: --DQHvzbC68w/QRWnV Content-Type: text/plain; charset=utf-8 Content-Disposition: inline On 11 Jan 2024 05:28, jaydeep.patil@imgtec.com wrote: > The match_never() function has been removed and thus step_once() crashes > during instruction decoding. Fixed it by checking for null pointer before > invoking function attached to match_func member of riscv_opcode structure pushed now, thx -mike --DQHvzbC68w/QRWnV Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEuQK1JxMl+JKsJRrUQWM7n+g39YEFAmWvE98ACgkQQWM7n+g3 9YE1/A//Y3jKL6eH8VqNfWhamBvWzbaMG98TduB1JcKtvmBmW9voClhEdqB3jEeH /z1NqQf0h1+tU+FUdkfvTEbTzHocTfPIhCb3aFf9WLJCqLbK1zIplH0fm1PxH8xC 34Smkfx1bxhRmUJlofVkYAcdizopY+EBGm0qUESsdSD61gMJ3iecAru4XCAKz380 RNVEhc8LujPkrMK8hKi1XnvwBmyhnEV+Xvu8xEzp1B2Hxx5ouyucRkoBMYDOI4SB VCeW0gn0Rk10LXA7DmF3cVfEfXJtOk1bQhUp9IhDxqxVsOT2s6lYu//YXDNCSzYq aPyekDOFnjyyQ7BgtWdeLDHt8q6CGhOgvQQoyhupgrhVeOa1kTUjWKWLJZEz+9EQ 0x6rwt/qAK0iiu+0J/B4v+uZxm78a3FMPhVJTBM9XINQToyQr7OS1tmieDn7n02V kmUWG2R5D0QFDZ5QyFgK92a5q+7lb1U4HpXp+N2yqwsVNOuZNfaxHzauViDaztSf n+X8Zl/hVBK0O2Ogu/EuiUv04PXmXxiE3jPqntX2tJYW774AFdvJbiL3dirPe7R8 Z/07OlvIPwKab6OoAF0ERr/V1njSbeQeD0srkhUyx6wSkOpVnav341TB/ih1yIvt IzLOfCKEy2Ky0diNF6RgiqrGoiattYeQJ+vS1Xs2dsg8+3aPgSo= =F3+G -----END PGP SIGNATURE----- --DQHvzbC68w/QRWnV--