From: Tom de Vries <tdevries@suse.de>
To: gdb-patches@sourceware.org
Subject: [PATCH v5 0/4] [gdb/tui] Fix crash with debuginfod query
Date: Sat, 14 Mar 2026 18:37:33 +0100 [thread overview]
Message-ID: <20260314173737.1436116-1-tdevries@suse.de> (raw)
This patch series fixes two PRs.
Versions v1-v4 were a single patch (see the last patch for descriptions and
references).
In v5 I've:
- fixed some trivial errors in the v4.
- split the v4 patch up into three patches,
- added a patch introducing defaulted_query_auto_answers_p,
- used defaulted_query_auto_answers_p to make the fix less intrusive
Tested on x86_64-linux.
Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=31449
Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=33794
Tom de Vries (4):
[gdb] Simplify debuginfod_is_enabled
[gdb] Add debuginfod_enabled_ask_p
[gdb] Add defaulted_query_auto_answers_p
[gdb/tui] Don't enter TUI if debuginfod enabled == ask
gdb/debuginfod-support.c | 113 ++++++++++++++++++------------
gdb/debuginfod-support.h | 5 ++
gdb/testsuite/gdb.tui/query-foo.c | 24 +++++++
gdb/testsuite/gdb.tui/query.exp | 92 ++++++++++++++++++++++++
gdb/tui/tui.c | 5 ++
gdb/utils.c | 55 +++++++++++++--
gdb/utils.h | 4 ++
7 files changed, 248 insertions(+), 50 deletions(-)
create mode 100644 gdb/testsuite/gdb.tui/query-foo.c
create mode 100644 gdb/testsuite/gdb.tui/query.exp
base-commit: 1c9bcee3077823e471140ebbbe19762998ffefd2
--
2.51.0
next reply other threads:[~2026-03-14 17:38 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-14 17:37 Tom de Vries [this message]
2026-03-14 17:37 ` [PATCH v5 1/4] [gdb] Simplify debuginfod_is_enabled Tom de Vries
2026-04-14 12:40 ` Tom de Vries
2026-03-14 17:37 ` [PATCH v5 2/4] [gdb] Add debuginfod_enabled_ask_p Tom de Vries
2026-03-14 17:37 ` [PATCH v5 3/4] [gdb] Add defaulted_query_auto_answers_p Tom de Vries
2026-03-14 17:37 ` [PATCH v5 4/4] [gdb/tui] Don't enter TUI if debuginfod enabled == ask Tom de Vries
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=20260314173737.1436116-1-tdevries@suse.de \
--to=tdevries@suse.de \
--cc=gdb-patches@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: link
Be 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