From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id iNedEcr3e2HOaAAAWB0awg (envelope-from ) for ; Fri, 29 Oct 2021 09:31:54 -0400 Received: by simark.ca (Postfix, from userid 112) id 452B71F0BB; Fri, 29 Oct 2021 09:31:54 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-0.7 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,RDNS_DYNAMIC,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from sourceware.org (ip-8-43-85-97.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 9E8A01EE18 for ; Fri, 29 Oct 2021 09:31:53 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 390453858430 for ; Fri, 29 Oct 2021 13:31:53 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 390453858430 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1635514313; bh=x88NMzBlMvvt562mXXl3+Lh1av3KuXoDRFBB/rY4V4c=; h=To:Subject:References:Date:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=cSoEDjPcArIkZKPWFwVTvuRrW/coD7nQa/DrwN+irQvgFJ3iaE1nmvjtSwiHbPwQ+ aBb/rThBlNNSgjtDYtyXLRZH0i39pE3BSFJeZictOj68cA/8cl8Gwe9wAkDEV4YWcO TCFevRMNieCVIwna/BkohW+K6mutRpt5FWs6XrSM= Received: from mail-io1-xd30.google.com (mail-io1-xd30.google.com [IPv6:2607:f8b0:4864:20::d30]) by sourceware.org (Postfix) with ESMTPS id 3FEFE385741A for ; Fri, 29 Oct 2021 13:31:23 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 3FEFE385741A Received: by mail-io1-xd30.google.com with SMTP id i14so12456431ioa.13 for ; Fri, 29 Oct 2021 06:31:23 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=x88NMzBlMvvt562mXXl3+Lh1av3KuXoDRFBB/rY4V4c=; b=jeTdV74H6qAvlsalyN1ZqAR9+UKPPf/NJYjkn7gUyqNbdvKF+PwU53jeFA1e5m3Eoh jcC9rbRN4rSCibA2i452gCnFj9mY5YebTY2CEjeVdH1GIqYCaT+aZII8kWGPqgxkXfAC QjN6F318kf1dp7fbc1hscLLOTOQQOrYPBkqXUCMQnOdCIPZOGugPGRT/f5mVxbhCEdGY balYXM1i2rcS7ls0P+qNUcI3JLt0nsQfJTO/eCIk4ajf4pqiKLbZTuhD76A32npATGlW uncQ3O9tO7LbJ0ZXpy0QWWfp45pAzSfhphSM+/er0Da2+ifoNtsjrKXrasBsgxTcCa6R DCjg== X-Gm-Message-State: AOAM530hfu/Ba6um2lWUWCQEyMer4f2duHqXkA4TEw0AmYYCAan88sEJ 7nVu+VjaugmurMOnqNgRfP9ECg== X-Google-Smtp-Source: ABdhPJzx+JbffHsbk5VSRsslJIx1y1XewngOK2km64NN13j844T+863RgnBcCSY+e0gpOLBSyhEDBg== X-Received: by 2002:a6b:e903:: with SMTP id u3mr7938428iof.36.1635514282645; Fri, 29 Oct 2021 06:31:22 -0700 (PDT) Received: from murgatroyd (75-166-134-234.hlrn.qwest.net. [75.166.134.234]) by smtp.gmail.com with ESMTPSA id a5sm3363916ilf.27.2021.10.29.06.31.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Oct 2021 06:31:22 -0700 (PDT) To: Tom Tromey via Gdb-patches Subject: Re: [PATCH v2] Avoid self-test failures on x86-linux References: <20211018194308.177367-1-tromey@adacore.com> X-Attribution: Tom Date: Fri, 29 Oct 2021 07:31:20 -0600 In-Reply-To: <20211018194308.177367-1-tromey@adacore.com> (Tom Tromey via Gdb-patches's message of "Mon, 18 Oct 2021 13:43:08 -0600") Message-ID: <87y26clzyv.fsf@tromey.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain 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: Tom Tromey via Gdb-patches Reply-To: Tom Tromey Cc: Tom Tromey Errors-To: gdb-patches-bounces+public-inbox=simark.ca@sourceware.org Sender: "Gdb-patches" >>>>> "Tom" == Tom Tromey via Gdb-patches writes: Tom> The disassembly tests in "maint selftest" will fail on x86-linux. Tom> This happens because opcodes rejects an attempt to disassemble for an Tom> arch with a 64-bit address size when bfd_vma is 32-bit. Tom> This patch avoids this problem by avoiding the test in this case. I Tom> chose to do it this way because this seems to be the only situation Tom> where opcodes checks the size of bfd_vma. Tom> For v2 of this patch, I've also updated memory_error_test to do the Tom> same thing. This is needed due to the "improve error reporting from Tom> the disassembler" patch. I'm checking this in. Tom