From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.efficios.com (mail.efficios.com [167.114.26.124]) by sourceware.org (Postfix) with ESMTPS id 5082C3857C5B; Wed, 26 Jan 2022 19:58:31 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 5082C3857C5B Received: from localhost (localhost [127.0.0.1]) by mail.efficios.com (Postfix) with ESMTP id A1F1C36160D; Wed, 26 Jan 2022 14:58:30 -0500 (EST) Received: from mail.efficios.com ([127.0.0.1]) by localhost (mail03.efficios.com [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id wdvS2BaozQYB; Wed, 26 Jan 2022 14:58:30 -0500 (EST) Received: from localhost (localhost [127.0.0.1]) by mail.efficios.com (Postfix) with ESMTP id 13A0836126F; Wed, 26 Jan 2022 14:58:30 -0500 (EST) DKIM-Filter: OpenDKIM Filter v2.10.3 mail.efficios.com 13A0836126F X-Virus-Scanned: amavisd-new at efficios.com Received: from mail.efficios.com ([127.0.0.1]) by localhost (mail03.efficios.com [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 4gwfFgXQiX3M; Wed, 26 Jan 2022 14:58:30 -0500 (EST) Received: from [10.0.0.11] (192-222-157-6.qc.cable.ebox.net [192.222.157.6]) by mail.efficios.com (Postfix) with ESMTPSA id E700A3610FE; Wed, 26 Jan 2022 14:58:29 -0500 (EST) Message-ID: Date: Wed, 26 Jan 2022 14:58:29 -0500 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Subject: Re: [PATCH] gdb: work around negative DW_AT_data_member_location GCC 11 bug Content-Language: en-US To: Bruno Larsen , gdb-patches@sourceware.org, binutils@sourceware.org References: <20211129153725.1499053-1-simon.marchi@efficios.com> <97f19de2-07a0-e3d5-f3dd-abfc74dabec2@redhat.com> From: Simon Marchi In-Reply-To: <97f19de2-07a0-e3d5-f3dd-abfc74dabec2@redhat.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3033.5 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, NICE_REPLY_A, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: binutils@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Binutils mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Jan 2022 19:58:32 -0000 >> +# This test can only be run on targets which support DWARF-2 and use gas. >> +if ![dwarf2_support] { >> + return 0 >> +} > > Correct me if I'm wrong, but I think Dwarf::assemble requires the compiler to be GCC. I don't know. To be honest, I just copied this commetn and check because we have it in all other tests that use the DWARF assembler. Simon