public inbox for gdb-prs@sourceware.org help / color / mirror / Atom feed
From: "tromey at sourceware dot org" <sourceware-bugzilla@sourceware.org> 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 15:56:54 +0000 [thread overview] Message-ID: <bug-30008-4717-RfljioYoEJ@http.sourceware.org/bugzilla/> (raw) In-Reply-To: <bug-30008-4717@http.sourceware.org/bugzilla/> https://sourceware.org/bugzilla/show_bug.cgi?id=30008 Tom Tromey <tromey at sourceware dot org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tromey at sourceware dot org --- Comment #3 from Tom Tromey <tromey at sourceware dot org> --- I set my ld to gold, just to be sure. murgatroyd. /bin/ld --version GNU gold (version 2.37-37.fc36) 1.16 Then I tried the instructions in comment #2 and I get: Breakpoint 1.1, mold::elf::parse_nonpositional_args<mold::elf::X86_64> (ctx=...) at /home/tromey/gdb/PRs/pr-30008-mold/mold/elf/cmdline.cc:395 395 std::span<std::string_view> args = ctx.cmdline_args; #0 mold::elf::parse_nonpositional_args<mold::elf::X86_64> (ctx=...) at /home/tromey/gdb/PRs/pr-30008-mold/mold/elf/cmdline.cc:395 #1 0x000000000064297e in mold::elf::elf_main<mold::elf::X86_64> (argc=3, argv=0x7fffffffe368) at /home/tromey/gdb/PRs/pr-30008-mold/mold/elf/elf-main.cc:391 #2 0x000000000063e2eb in mold::elf::main (argc=3, argv=0x7fffffffe368) at /home/tromey/gdb/PRs/pr-30008-mold/mold/elf/elf-main.cc:762 #3 0x0000000001c14637 in main (argc=3, argv=0x7fffffffe368) at /home/tromey/gdb/PRs/pr-30008-mold/mold/common/main.cc:155 So I think it is working for me as well. -- You are receiving this mail because: You are on the CC list for the bug.
next prev parent reply other threads:[~2023-02-15 15:56 UTC|newest] Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top 2023-01-17 6:25 [Bug gdb/30008] New: " rui314 at gmail dot com 2023-01-17 18:20 ` [Bug gdb/30008] " simon.marchi at polymtl dot ca 2023-01-18 0:48 ` rui314 at gmail dot com 2023-02-15 15:56 ` tromey at sourceware dot org [this message] 2023-02-15 16:28 ` simon.marchi at polymtl dot ca 2023-02-15 18:15 ` tromey at sourceware dot org 2023-02-16 0:07 ` rui314 at gmail dot com 2023-02-16 2:32 ` sam at gentoo dot org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-30008-4717-RfljioYoEJ@http.sourceware.org/bugzilla/ \ --to=sourceware-bugzilla@sourceware.org \ --cc=gdb-prs@sourceware.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).