[PATCH 0/2] Use check-mark for current row of CLI table

Tom Tromey
2025-05-09T20:19:33Z

This series changes CLI table output to use a check mark or other
string instead of the current "*" when emoji output is enabled. The
default in this case is now a Unicode check mark symbol.

Regression tested on x86-64 Fedora 41.

Signed-off-by: Tom Tromey <tromey@adacore.com>
---
Tom Tromey (2):
Introduce ui_out::field_check_mark
Allow check-mark to be changed for CLI

gdb/NEWS | 6 ++++++
gdb/ada-tasks.c | 5 +----
gdb/cli-out.c | 8 ++++++++
gdb/cli-out.h | 2 ++
gdb/cli/cli-style.c | 32 ++++++++++++++++++++++++++++++++
gdb/cli/cli-style.h | 3 +++
gdb/doc/gdb.texinfo | 10 ++++++++++
gdb/inferior.c | 6 +-----
gdb/linux-fork.c | 5 +----
gdb/progspace.c | 6 +-----
gdb/target-connection.c | 6 ++----
gdb/testsuite/gdb.base/style.exp | 4 ++++
gdb/thread.c | 6 +-----
gdb/ui-out.c | 9 +++++++++
gdb/ui-out.h | 13 +++++++++++++
15 files changed, 94 insertions(+), 27 deletions(-)
---
base-commit: 3fabf85b5cb0271fcd70047489a6513362cb4ea9
change-id: 20250509-emoji-check-mark-36415e813a85

Best regards,
--
Tom Tromey <tromey@adacore.com>