Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Andrew Burgess <aburgess@redhat.com>
To: gdb-patches@sourceware.org
Cc: Andrew Burgess <aburgess@redhat.com>
Subject: [PATCH 0/6] gdb/tui: fix debuginfod related crash
Date: Fri,  1 May 2026 15:22:50 +0100	[thread overview]
Message-ID: <cover.1777645161.git.aburgess@redhat.com> (raw)

This series is an alternative to the latest patches proposed here:

  https://inbox.sourceware.org/gdb-patches/20260417075719.852558-1-tdevries@suse.de

Patches #1, #2, and #3 cover changes that are not part of the above
series, I suspect these will be reasonably non-contentious.

Patch #4 is a small refactor to support the later patches.

Patches #5 and #6 are my take on solving the problem covered by the
above series.

Thanks,
Andrew

---

Andrew Burgess (6):
  gdb/tui: convert a window handle `if` into an `assert`
  gdb/testsuite: fix tuiterm linefeed scrolling new line content
  gdb/tui: prevent TUI activation from a secondary prompt
  gdb/tui: make tui_win_info::rerender public
  gdb/tui: fix for debuginfod prompt while enabling the TUI
  gdb/tui: fix debuginfod prompt using 'C-x C-a' to enter TUI

 .../gdb.tui/activate-from-secondary-prompt.c  |  22 ++
 .../activate-from-secondary-prompt.exp        | 154 +++++++++++
 .../gdb.tui/activate-with-key-combo.c         |  22 ++
 .../gdb.tui/activate-with-key-combo.exp       |  83 ++++++
 gdb/testsuite/gdb.tui/debuginfod-query.c      |  22 ++
 gdb/testsuite/gdb.tui/debuginfod-query.exp    | 242 ++++++++++++++++++
 .../gdb.tui/tui-enable-failure-lib.c          |  31 +++
 gdb/testsuite/gdb.tui/tui-enable-failure.c    |  22 ++
 gdb/testsuite/gdb.tui/tui-enable-failure.exp  | 136 ++++++++++
 gdb/testsuite/gdb.tui/tuiterm.exp             |   2 +-
 gdb/testsuite/lib/gdb.exp                     |  28 ++
 gdb/testsuite/lib/tuiterm.exp                 |   1 +
 gdb/tui/tui-data.h                            |  12 +-
 gdb/tui/tui-hooks.c                           |  21 +-
 gdb/tui/tui-layout.c                          |   3 +-
 gdb/tui/tui-regs.h                            |   4 +-
 gdb/tui/tui-wingeneral.c                      |  13 +-
 gdb/tui/tui-winsource.c                       |   2 +
 gdb/tui/tui-winsource.h                       |   4 +-
 gdb/tui/tui.c                                 | 202 +++++++++++----
 gdb/tui/tui.h                                 |   5 +
 21 files changed, 959 insertions(+), 72 deletions(-)
 create mode 100644 gdb/testsuite/gdb.tui/activate-from-secondary-prompt.c
 create mode 100644 gdb/testsuite/gdb.tui/activate-from-secondary-prompt.exp
 create mode 100644 gdb/testsuite/gdb.tui/activate-with-key-combo.c
 create mode 100644 gdb/testsuite/gdb.tui/activate-with-key-combo.exp
 create mode 100644 gdb/testsuite/gdb.tui/debuginfod-query.c
 create mode 100644 gdb/testsuite/gdb.tui/debuginfod-query.exp
 create mode 100644 gdb/testsuite/gdb.tui/tui-enable-failure-lib.c
 create mode 100644 gdb/testsuite/gdb.tui/tui-enable-failure.c
 create mode 100644 gdb/testsuite/gdb.tui/tui-enable-failure.exp


base-commit: 1a5ae95bc1fde4aeb159e4e963118b17e1e730b5
-- 
2.25.4


             reply	other threads:[~2026-05-01 14:23 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-05-01 14:22 Andrew Burgess [this message]
2026-05-01 14:22 ` [PATCH 1/6] gdb/tui: convert a window handle `if` into an `assert` Andrew Burgess
2026-05-01 14:22 ` [PATCH 2/6] gdb/testsuite: fix tuiterm linefeed scrolling new line content Andrew Burgess
2026-05-01 14:22 ` [PATCH 3/6] gdb/tui: prevent TUI activation from a secondary prompt Andrew Burgess
2026-05-01 14:22 ` [PATCH 4/6] gdb/tui: make tui_win_info::rerender public Andrew Burgess
2026-05-01 14:22 ` [PATCH 5/6] gdb/tui: fix for debuginfod prompt while enabling the TUI Andrew Burgess
2026-05-01 14:22 ` [PATCH 6/6] gdb/tui: fix debuginfod prompt using 'C-x C-a' to enter TUI Andrew Burgess
2026-07-10  9:47 ` [PATCHv2 0/6] gdb/tui: fix debuginfod related crash Andrew Burgess
2026-07-10  9:47   ` [PATCHv2 1/6] gdb/tui: convert a window handle `if` into an `assert` Andrew Burgess
2026-07-10  9:47   ` [PATCHv2 2/6] gdb/testsuite: fix tuiterm linefeed scrolling new line content Andrew Burgess
2026-07-10  9:47   ` [PATCHv2 3/6] gdb/tui: prevent TUI activation from a secondary prompt Andrew Burgess
2026-07-10  9:47   ` [PATCHv2 4/6] gdb/tui: make tui_win_info::rerender public Andrew Burgess
2026-07-10  9:47   ` [PATCHv2 5/6] gdb/tui: fix for debuginfod prompt while enabling the TUI Andrew Burgess
2026-07-10  9:47   ` [PATCHv2 6/6] gdb/tui: fix debuginfod prompt using 'C-x C-a' to enter TUI Andrew Burgess
2026-07-27 15:50   ` [PATCHv2 0/6] gdb/tui: fix debuginfod related crash Andrew Burgess

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=cover.1777645161.git.aburgess@redhat.com \
    --to=aburgess@redhat.com \
    --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