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 python/31437] [gdb/python] Unavailable register breaks python unwinding Date: Tue, 19 Mar 2024 09:29:34 +0000 [thread overview] Message-ID: <bug-31437-4717-KoDJViAD7F@http.sourceware.org/bugzilla/> (raw) In-Reply-To: <bug-31437-4717@http.sourceware.org/bugzilla/> https://sourceware.org/bugzilla/show_bug.cgi?id=31437 --- Comment #4 from Sourceware Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Tom de Vries <vries@sourceware.org>: https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=306361f0687a60b06503a2df3c0ba949afca215f commit 306361f0687a60b06503a2df3c0ba949afca215f Author: Tom de Vries <tdevries@suse.de> Date: Tue Mar 19 10:30:36 2024 +0100 [gdb] Further fix "value is not available" with debug frame In commit 2aaba744467 ("[gdb] Fix "value is not available" with debug frame") I fixed a case in frame_unwind_register_value where using "set debug frame on" caused an "info frame" command to abort, reporting a "value is not available" error, due to the tpidruro register being unavailable. Subsequently, commit bbb12eb9c84 ("gdb/arm: Remove tpidruro register from non-FreeBSD target descriptions") removed the unavailable register, which caused a progression on test-case gdb.base/inline-frame-cycle-unwind.exp. While investigating the progression (see PR python/31437), I found that the "debug frame" output of the test-case (when reverting commit bbb12eb9c84) showed a smilar problem: ... Python Exception <class 'gdb.error'>: value is not available^M ... that was absent without "debug frame". Fix this likewise in fetch_lazy_register, and update the test-case to check for the exception. Furthermore, I realized that there's both value::entirely_available and value::entirely_unavailable, and that commit 2aaba744467 handled the case of !entirely_available by printing unavailable. Instead, print: - "unavailable" for entirely_unavailable, and - "partly unavailable" for !entirely_unavailable && !entirely_available. Tested on x86_64-linux and arm-linux. -- You are receiving this mail because: You are on the CC list for the bug.
next prev parent reply other threads:[~2024-03-19 9:29 UTC|newest] Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top 2024-03-01 12:24 [Bug python/31437] New: " vries at gcc dot gnu.org 2024-03-01 12:27 ` [Bug python/31437] " vries at gcc dot gnu.org 2024-03-02 8:52 ` vries at gcc dot gnu.org 2024-03-02 12:37 ` vries at gcc dot gnu.org 2024-03-19 9:29 ` cvs-commit at gcc dot gnu.org [this message] 2024-05-08 8:36 ` vries at gcc dot gnu.org 2024-05-08 12:12 ` cvs-commit at gcc dot gnu.org 2024-05-08 12:14 ` vries at gcc dot gnu.org 2024-05-08 12:15 ` 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-31437-4717-KoDJViAD7F@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).