From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id s4L6F38KfGF/awAAWB0awg (envelope-from ) for ; Fri, 29 Oct 2021 10:51:43 -0400 Received: by simark.ca (Postfix, from userid 112) id 5162F1F0BB; Fri, 29 Oct 2021 10:51:43 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,NICE_REPLY_A,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 96EF51EE18 for ; Fri, 29 Oct 2021 10:51:42 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 0788F385783B for ; Fri, 29 Oct 2021 14:51:42 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0788F385783B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1635519102; bh=niDqaXgzSA+Xi1v6+c2Joh2QThp95n0EQJOtqoBSqnQ=; h=Subject:To:References:Date:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=ugfhBlcOyOWJj2gSABLxJmg/3ZvxgPSxuq/2brGey7ozG32kSRut5OlPt5oEW5ZSB eZheMp+hjiKHCNk/Pdf9dGq7SZnf2bhbw2LH6bxjrwcUprxm8AUDSvGXbWL/KsDiF5 Qvsttz747nFnKCAPvrCQLkIGSh9Hj3F34cm5qhCI= Received: from mail-qk1-x733.google.com (mail-qk1-x733.google.com [IPv6:2607:f8b0:4864:20::733]) by sourceware.org (Postfix) with ESMTPS id 3E0AC3857403 for ; Fri, 29 Oct 2021 14:51:22 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 3E0AC3857403 Received: by mail-qk1-x733.google.com with SMTP id i9so9017447qki.3 for ; Fri, 29 Oct 2021 07:51:22 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=niDqaXgzSA+Xi1v6+c2Joh2QThp95n0EQJOtqoBSqnQ=; b=tuphDpggPj6gRq36/F9ILoDDpEx41HWE5oaEajQVbY7XrIthxJE31BG3xHo2lx26ZW 6fhV4MJLgnaSkEmJ1kUygMbq87Z4tEduoUqaW5DMeax9RE/fqx4g+cphZRCjmtTMaCWf 9IAaq7W3Frq+/YNG+H0KGh9FHj9Ov1mqvNq9Bt6i1K21KgfvPSgznsdALajIGHD8D2Sn VQbwXqWCMxo5k4HHI8lL2VSKuRJRNfNJ7VFui9bDlufM8k8KDdT+XFTh9UpNPGd9DilK ACBI/8NsFruJjxzgt+02I9FSovDkDs+VjFRAOEZfRpY3owgahom6O0ffw0C/cyDnEXHE 0r4w== X-Gm-Message-State: AOAM5327VmYPg0QERUvF4w0yqpmLKVNkwrmX7mqnetrurfDFyxbhYjRZ ubVF7oEsZIyY6Vb4GnG2Hrd11f8HAn/+EA== X-Google-Smtp-Source: ABdhPJxKwr/BL8sX3N2GR3JcBl6FUDchLG1sLotNJL56Q0yXKISWPYUiq2iYveYex5gOXGXpU3dsCg== X-Received: by 2002:a37:a9d0:: with SMTP id s199mr9389835qke.326.1635519081845; Fri, 29 Oct 2021 07:51:21 -0700 (PDT) Received: from ?IPv6:2804:7f0:4841:487c:90de:b9d2:cf03:8b6f? ([2804:7f0:4841:487c:90de:b9d2:cf03:8b6f]) by smtp.gmail.com with ESMTPSA id v22sm3280046qta.74.2021.10.29.07.51.20 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 29 Oct 2021 07:51:21 -0700 (PDT) Subject: Re: [PATCH v2] Avoid self-test failures on x86-linux To: Tom Tromey References: <20211018194308.177367-1-tromey@adacore.com> <87y26clzyv.fsf@tromey.com> <325373ef-31b2-6403-329b-cf8e3fa45c26@linaro.org> <87h7cznb0d.fsf@tromey.com> Message-ID: <4e8c0fca-3321-8f63-29d5-3af953973195@linaro.org> Date: Fri, 29 Oct 2021 11:51:19 -0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 MIME-Version: 1.0 In-Reply-To: <87h7cznb0d.fsf@tromey.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US 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: Luis Machado via Gdb-patches Reply-To: Luis Machado Cc: "andrew.burgess@embecosm.com" , Tom Tromey via Gdb-patches Errors-To: gdb-patches-bounces+public-inbox=simark.ca@sourceware.org Sender: "Gdb-patches" On 10/29/21 11:47 AM, Tom Tromey wrote: > Luis> Isn't this a broader issue? I recently reported some failures in the > Luis> gdb.base/all-architectures-2.exp, where disassembling fails due to > Luis> (apparently) some recent changes in error reporting. > > Do you have a link? I haven't filed a PR yet. I pinged Andrew about it on IRC to check if that was intended behavior or not. > > I've only run into this particular problem, and when I wrote the fix, I > looked through opcodes to find other similar instances, and didn't find > any. It is not immediately obvious that the gdb.base/all-architectures*.exp failures are related to disassembler self tests. I wouldn't expect so, given those tests invoke "disassemble" explicitly.