public inbox for gdb-prs@sourceware.org help / color / mirror / Atom feed
From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org> To: gdb-prs@sourceware.org Subject: [Bug rust/26799] [readnow] FAIL: gdb.rust/traits.exp: print *td Date: Thu, 12 Nov 2020 15:56:33 +0000 [thread overview] Message-ID: <bug-26799-4717-For48ypZlQ@http.sourceware.org/bugzilla/> (raw) In-Reply-To: <bug-26799-4717@http.sourceware.org/bugzilla/> https://sourceware.org/bugzilla/show_bug.cgi?id=26799 --- Comment #5 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Tom Tromey <tromey@sourceware.org>: https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=1f2624a35413c31c317e5da8ce7401b59ecfbfa5 commit 1f2624a35413c31c317e5da8ce7401b59ecfbfa5 Author: Tom Tromey <tom@tromey.com> Date: Thu Nov 12 08:47:09 2020 -0700 Fix Rust regression with -readnow PR rust/26799 points out that a certain test case fails with -readnow. This happens because, with -readnow, there are no partial symtabs; but find_symbol_at_address requires these. This patch fixes this problem by searching all of an objfile's compunit symtabs if it does not have partial symbols. Note that this test will still fail with .gdb_index. I don't think that is readily fixable. gdb/ChangeLog 2020-11-12 Tom Tromey <tom@tromey.com> PR rust/26799: * symtab.c (find_symbol_at_address): Search symtabs if no psymtabs exist. gdb/testsuite/ChangeLog 2020-11-12 Tom Tromey <tom@tromey.com> PR rust/26799: * gdb.rust/traits.exp: Remove kfails. -- You are receiving this mail because: You are on the CC list for the bug.
next prev parent reply other threads:[~2020-11-12 15:56 UTC|newest] Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top 2020-10-28 9:37 [Bug rust/26799] New: " vries at gcc dot gnu.org 2020-10-28 9:38 ` [Bug rust/26799] " vries at gcc dot gnu.org 2020-10-28 9:38 ` vries at gcc dot gnu.org 2020-10-31 20:16 ` tromey at sourceware dot org 2020-11-01 0:40 ` tromey at sourceware dot org 2020-11-01 0:44 ` tromey at sourceware dot org 2020-11-12 15:56 ` cvs-commit at gcc dot gnu.org [this message] 2020-11-12 15:58 ` tromey at sourceware 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-26799-4717-For48ypZlQ@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).