]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
[gdb/testsuite] Remove invalid .debug_line section in gdb.dwarf2/dw2-icycle.exp
authorTom de Vries <tdevries@suse.de>
Sat, 23 May 2026 08:16:57 +0000 (10:16 +0200)
committerTom de Vries <tdevries@suse.de>
Sat, 23 May 2026 08:16:57 +0000 (10:16 +0200)
Test-case source gdb.dwarf2/dw2-icycle.S contains an invalid .debug_line
section contribution, causing a readelf -w warning.

It's also unused, so fix the warning by removing it.

Approved-By: Tom Tromey <tom@tromey.com>
Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=34157

gdb/testsuite/gdb.dwarf2/dw2-icycle.S

index 3e79c966aef98477213deb8ce84be2cbc26c3fae..4bd67a4cb7d6ccaa44524ce574430fc6f11712c9 100644 (file)
@@ -250,10 +250,6 @@ p__top:
        .byte   0
        .byte   0
 
-        .section .debug_line
-.Lline1_begin:
-        .byte   0
-
 #ifdef __arm__
        .section        .note.GNU-stack,"",%progbits
 #else