From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id RbaSIhus6GIP4B4AWB0awg (envelope-from ) for ; Tue, 02 Aug 2022 00:46:19 -0400 Received: by simark.ca (Postfix, from userid 112) id 7E5B51EA05; Tue, 2 Aug 2022 00:46:19 -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=L6dpCEhw; 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=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RDNS_DYNAMIC,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 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 2E63D1E9EB for ; Tue, 2 Aug 2022 00:46:19 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 72B71385C32B for ; Tue, 2 Aug 2022 04:46:18 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 72B71385C32B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1659415578; bh=qzrAonQZhxjNCY1tizSiPcUcuqukVVv++srWAnXHt9c=; h=Date:To:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=L6dpCEhwbQC2hVnnLvXuUzhGr1M9TbZ/Uk8PLpFvOKecfVWo1mXeBANXP/eFEirth hdBaR3/OcxRttzTcPW4TYZl7onRrESHF5yDuNusjrrRsoq6y8pQbOE6UeyzMT2FTG4 v2tbl0TIm3RqVI0Ga6DVEJS7gxusYM3tCYCutX2w= Received: from smtp-out2.suse.de (smtp-out2.suse.de [IPv6:2001:67c:2178:6::1d]) by sourceware.org (Postfix) with ESMTPS id A40F63856091 for ; Tue, 2 Aug 2022 04:45:58 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org A40F63856091 Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id C2DCC1FE7D for ; Tue, 2 Aug 2022 04:45:57 +0000 (UTC) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id B20701345B for ; Tue, 2 Aug 2022 04:45:57 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id Kp5vKgWs6GJcdQAAMHmgww (envelope-from ) for ; Tue, 02 Aug 2022 04:45:57 +0000 Date: Tue, 2 Aug 2022 06:45:56 +0200 To: gdb-patches@sourceware.org Subject: [PATCH][gdb/testsuite] Fix .debug_aranges in gdb.dwarf2/fission-loclists.S Message-ID: <20220802044554.GA23254@delia.home> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) 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 de Vries via Gdb-patches Reply-To: Tom de Vries Errors-To: gdb-patches-bounces+public-inbox=simark.ca@sourceware.org Sender: "Gdb-patches" Hi, When running test-case gdb.dwarf2/fission-loclists.exp, I noticed: ... warning: Section .debug_aranges in fission-loclists has duplicate \ debug_info_offset 0x8f, ignoring .debug_aranges.^M ... Fix this by removing the duplicate .debug_aranges entry. Tested on x86_64-linux. Any comments? Thanks, - Tom [gdb/testsuite] Fix .debug_aranges in gdb.dwarf2/fission-loclists.S --- gdb/testsuite/gdb.dwarf2/fission-loclists.S | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/gdb/testsuite/gdb.dwarf2/fission-loclists.S b/gdb/testsuite/gdb.dwarf2/fission-loclists.S index 012b2d7ac7d..cf12ab3b04c 100644 --- a/gdb/testsuite/gdb.dwarf2/fission-loclists.S +++ b/gdb/testsuite/gdb.dwarf2/fission-loclists.S @@ -523,20 +523,6 @@ main: .quad .LFE1-.LFB1 # Length .quad 0 .quad 0 - .section .debug_aranges,"",@progbits - .4byte 0x3c # Length of Address Ranges Info - .value 0x2 # DWARF Version - .4byte .Lskeleton_debug_info0 # Offset of Compilation Unit Info - .byte 0x8 # Size of Address - .byte 0 # Size of Segment Descriptor - .value 0 # Pad to 16 byte boundary - .value 0 - .8byte .Ltext0 # Address - .8byte .Letext0-.Ltext0 # Length - .8byte .LFB1 # Address - .8byte .LFE1-.LFB1 # Length - .8byte 0 - .8byte 0 .section .debug_ranges,"",@progbits .Ldebug_ranges0: .8byte .Ltext0 - .Ltext0 # Offset 0