public inbox for gdb-prs@sourceware.org help / color / mirror / Atom feed
From: "vries at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org> To: gdb-prs@sourceware.org Subject: [Bug go/27238] [gcc-11] FAIL: gdb.go/package.exp: setting breakpoint at package2.Foo Date: Thu, 05 Oct 2023 08:44:33 +0000 [thread overview] Message-ID: <bug-27238-4717-axsTPhYKPN@http.sourceware.org/bugzilla/> (raw) In-Reply-To: <bug-27238-4717@http.sourceware.org/bugzilla/> https://sourceware.org/bugzilla/show_bug.cgi?id=27238 --- Comment #12 from Tom de Vries <vries at gcc dot gnu.org> --- Interesting find: when running with gccgo-7, the test-case passes. But it finds the function it breaks on in the minimal symbols, not the dwarf. So this works fine, it just doesn't print the line info: ... $ gccgo-7 ./src/gdb/testsuite/gdb.go/package2.go -c -g0 $ gccgo-7 ./src/gdb/testsuite/gdb.go/package1.go package2.o -g0 $ gdb -q -batch a.out -ex "b package2.Foo" -ex "b go.package2.Foo" Breakpoint 1 at 0x402563 Breakpoint 2 at 0x402563 ... But with gccgo-11 it doesn't work: ... $ gccgo-11 ./src/gdb/testsuite/gdb.go/package2.go -c -g0 $ gccgo-11 ./src/gdb/testsuite/gdb.go/package1.go package2.o -g0 $ gdb -q -batch a.out -ex "b package2.Foo" -ex "b go.package2.Foo" Function "package2.Foo" not defined. Make breakpoint pending on future shared library load? (y or [n]) [answered N; input not from terminal] Function "go.package2.Foo" not defined. Make breakpoint pending on future shared library load? (y or [n]) [answered N; input not from terminal] ... So it looks like the regression is in minimal symbol handling, dwarf already wasn't working in the first place. -- You are receiving this mail because: You are on the CC list for the bug.
next prev parent reply other threads:[~2023-10-05 8:44 UTC|newest] Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-01-25 12:33 [Bug go/27238] New: " vries at gcc dot gnu.org 2021-01-26 7:54 ` [Bug go/27238] " vries at gcc dot gnu.org 2021-01-26 8:42 ` vries at gcc dot gnu.org 2021-01-26 8:43 ` vries at gcc dot gnu.org 2023-01-19 21:41 ` tromey at sourceware dot org 2023-02-17 0:41 ` tromey at sourceware dot org 2023-02-17 0:41 ` tromey at sourceware dot org 2023-10-02 8:31 ` vries at gcc dot gnu.org 2023-10-02 9:14 ` vries at gcc dot gnu.org 2023-10-02 11:33 ` vries at gcc dot gnu.org 2023-10-02 18:50 ` ian at airs dot com 2023-10-02 21:53 ` ian at airs dot com 2023-10-05 8:44 ` vries at gcc dot gnu.org [this message] 2023-10-05 13:10 ` vries at gcc dot gnu.org 2023-10-05 14:51 ` vries at gcc dot gnu.org 2023-10-05 21:22 ` cvs-commit at gcc dot gnu.org 2023-10-05 21:23 ` vries at gcc dot gnu.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-27238-4717-axsTPhYKPN@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).