From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id AF9DC385841F; Tue, 2 Apr 2024 07:22:44 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org AF9DC385841F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1712042564; bh=+++q0BzXeeFoK4DOsKIjGs0bP+RpP8VAc0rZegufYYg=; h=From:To:Subject:Date:In-Reply-To:References:From; b=HHfTVYE4YzIismFtYCsY4KJpoiYs0toUJqPxwbsoQ9pv8LXKlueT8skz+UZx31Jij GzAbmYzGdWQlN731Vv6ajsBlKDViOyQv5hjvHXT6XIFgkuKlJZmig3+M3hHGW6w2M3 Jj2Ms6KbhdV/Np0oJJxTq0y3mbITfVPoI2s4RDkE= From: "vries at gcc dot gnu.org" To: gdb-prs@sourceware.org Subject: [Bug testsuite/31592] [gdb/testsuite] gdb.dwarf2/dw2-epilogue-begin.exp drops epilogue_begin entry Date: Tue, 02 Apr 2024 07:22:44 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: testsuite X-Bugzilla-Version: HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: vries at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D31592 --- Comment #1 from Tom de Vries --- This: ... diff --git a/gdb/testsuite/gdb.dwarf2/dw2-epilogue-begin.exp b/gdb/testsuite/gdb.dwarf2/dw2-epilogue-begin.exp index f646e23da62..7ae14fa9b5a 100644 --- a/gdb/testsuite/gdb.dwarf2/dw2-epilogue-begin.exp +++ b/gdb/testsuite/gdb.dwarf2/dw2-epilogue-begin.exp @@ -134,6 +134,7 @@ Dwarf::assemble $asm_file { DW_LNS_set_epilogue_begin DW_LNS_copy + DW_LNE_set_address "$main_start + $main_len" DW_LNE_end_sequence } } ... prevents the entry from being dropped: ... INDEX LINE REL-ADDRESS UNREL-ADDRESS IS-STMT PROLOGUE-END EPILOGUE-BEGIN=20 0 20 0x00000000004004b7 0x00000000004004b7 Y Y Y= =20=20=20=20=20=20 1 27 0x00000000004004be 0x00000000004004be Y=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 2 34 0x00000000004004d0 0x00000000004004d0 Y Y=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 3 37 0x00000000004004de 0x00000000004004de Y Y= =20=20=20=20=20=20 4 38 0x00000000004004ec 0x00000000004004ec Y=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 5 43 0x00000000004004ef 0x00000000004004ef Y Y=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 6 47 0x00000000004004fa 0x00000000004004fa Y=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 7 50 0x00000000004004ff 0x00000000004004ff Y Y= =20=20=20=20=20=20 8 END 0x000000000040050d 0x000000000040050d Y=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 ... but no longer exercises the corner case. --=20 You are receiving this mail because: You are on the CC list for the bug.=