From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id A02F33858C60; Wed, 15 Feb 2023 16:28:51 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A02F33858C60 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1676478531; bh=6DBLlRSVWjyYgK5cW4gRVr+a1qUC/TxHN2gHyX5ceBc=; h=From:To:Subject:Date:In-Reply-To:References:From; b=HuSV1yKoCqBTahkx32YVOU69RS2f1QFNfYyL6haj7uLVazCZqAIRXFFYqhgla90uq XXCduveXkNMoxsRrzt6ZZP57VVlNhLU9PdOZ+7JCqMzCxu8FHiE+lwWZpLyT6CMfhz GyLq0aoTzZFiqlMMXaJz6DDM5QpVb6LuhsTfYdG4= From: "simon.marchi at polymtl dot ca" To: gdb-prs@sourceware.org Subject: [Bug gdb/30008] gdb fails to get line numbers with gold/mold with --gdb-index Date: Wed, 15 Feb 2023 16:28:51 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: gdb X-Bugzilla-Version: HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: simon.marchi at polymtl dot ca X-Bugzilla-Status: UNCONFIRMED 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=3D30008 --- Comment #4 from Simon Marchi --- I think I missed the "gdb index" part when testing. I tried again on Arch Linux now, and I get the same output as OP: #0 0x0000555555671db4 in std::vector, std::allocator >, std::allocator, std::allocator > > > mold::elf::parse_nonpositional_args(mold::elf::Context&) () #1 0x00005555558adf2d in int mold::elf::elf_main(int, char**) () #2 0x00005555558a945b in mold::elf::main(int, char**) () #3 0x0000555556fedaf5 in main (argc=3D3, argv=3D0x7fffffffdea8) at /home/smarchi/src/mold/common/main.cc:155 --=20 You are receiving this mail because: You are on the CC list for the bug.=