From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 1DEA0386EC09; Fri, 10 May 2024 14:36:37 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 1DEA0386EC09 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1715351797; bh=xF7dpHePSkSkg53VEVBpUJj4ZES70WHYHTwYypk1bT4=; h=From:To:Subject:Date:In-Reply-To:References:From; b=DrEFG8+8Jbc2unRHjfdp6T03DhIw9p6bwxW0hg3fyV+bJH0vYnNM3ih27ZCN0QJlh ZIg35d7iS2xo6G/PfpaqKzO9GaeawZKjfb8lP3Z8abYOkMA/QaXRBliW/Y8lvBebgN 1e5DXI26z0MU8X5x8nb8MbjfN2QtSHQjpeHrrReg= From: "vries at gcc dot gnu.org" To: gdb-prs@sourceware.org Subject: [Bug symtab/31725] [gdb/symtab] wrong .debug_str section used in dwarf_decode_macro_bytes Date: Fri, 10 May 2024 14:36:36 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: symtab X-Bugzilla-Version: 14.1 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=3D31725 --- Comment #2 from Tom de Vries --- When compiling the test-case with gcc 14 instead of 13 the error disappears. But that's due to a complaint, which is silently ignored by default: ... $ gdb -q -batch -iex "set complaints 1000" a.out -ex "p main" During symbol reading: unrecognized DW_MACINFO or DW_MACRO opcode 0xcc $1 =3D {int (void)} 0x4006ac
... and aborts reading of .debug_macros before reaching the second pass in dwarf_decode_macros. --=20 You are receiving this mail because: You are on the CC list for the bug.=