public inbox for gdb-cvs@sourceware.org
help / color / mirror / Atom feed
* [binutils-gdb] [gdb/testsuite] Fix .debug_aranges in gdb.dwarf2/fission-loclists.S
@ 2022-08-04 17:56 Tom de Vries
  0 siblings, 0 replies; only message in thread
From: Tom de Vries @ 2022-08-04 17:56 UTC (permalink / raw)
  To: gdb-cvs

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=367dda85965bc03968edb43b2c86a2c25d3e846b

commit 367dda85965bc03968edb43b2c86a2c25d3e846b
Author: Tom de Vries <tdevries@suse.de>
Date:   Thu Aug 4 19:56:06 2022 +0200

    [gdb/testsuite] Fix .debug_aranges in gdb.dwarf2/fission-loclists.S
    
    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.

Diff:
---
 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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-08-04 17:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-04 17:56 [binutils-gdb] [gdb/testsuite] Fix .debug_aranges in gdb.dwarf2/fission-loclists.S Tom de Vries

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).