From: Eli Zaretskii <eliz@gnu.org>
To: Tom de Vries <tdevries@suse.de>
Cc: gdb-patches@sourceware.org, tom@tromey.com
Subject: Re: [PATCH 3/3] [gdb/tui] Add set tui contents-highlight on/off
Date: Tue, 16 May 2023 18:02:26 +0300 [thread overview]
Message-ID: <83wn18z5dp.fsf@gnu.org> (raw)
In-Reply-To: <20230516084352.27225-4-tdevries@suse.de> (message from Tom de Vries via Gdb-patches on Tue, 16 May 2023 10:43:52 +0200)
> Cc: Tom Tromey <tom@tromey.com>
> Date: Tue, 16 May 2023 10:43:52 +0200
> From: Tom de Vries via Gdb-patches <gdb-patches@sourceware.org>
>
> TUI highlights various parts of TUI windows:
> - highlighting of the current execution point in the assembly and source
> windows,
> - highlighting of changed registers in the register window.
>
> Add a new command "set tui contents-highlight on/off" that allows us to disable
> this.
>
> The default is on, so there's no change in behaviour.
>
> Note that the highlighting in all three windows is shadowed by the ">" marker,
> so we're not losing information by switching off the highlighting.
>
> Tested on x86_64-linux.
> ---
> gdb/doc/gdb.texinfo | 7 ++++
> gdb/testsuite/gdb.tui/source.exp | 59 ++++++++++++++++++++++++++++++++
> gdb/tui/tui-regs.c | 4 +--
> gdb/tui/tui-regs.h | 4 +--
> gdb/tui/tui-win.c | 39 +++++++++++++++++++++
> gdb/tui/tui-win.h | 4 +++
> gdb/tui/tui-winsource.c | 4 +--
> 7 files changed, 115 insertions(+), 6 deletions(-)
> create mode 100644 gdb/testsuite/gdb.tui/source.exp
The documentation part is OK, thanks.
Reviewed-By: Eli Zaretskii <eliz@gnu.org>
prev parent reply other threads:[~2023-05-16 15:02 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-05-16 8:43 [PATCH 0/3] [gdb/tui] Allow highlighting in windows contents to be switched off Tom de Vries
2023-05-16 8:43 ` [PATCH 1/3] [gdb/tui] Add set tui status-window-mode <mode> Tom de Vries
2023-05-16 15:01 ` Eli Zaretskii
2023-05-19 19:11 ` Tom Tromey
2023-05-22 12:15 ` Tom de Vries
2023-05-16 8:43 ` [PATCH 2/3] [gdb/tui] Use ">" marker in register window Tom de Vries
2023-05-16 8:43 ` [PATCH 3/3] [gdb/tui] Add set tui contents-highlight on/off Tom de Vries
2023-05-16 15:02 ` Eli Zaretskii [this message]
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=83wn18z5dp.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=gdb-patches@sourceware.org \
--cc=tdevries@suse.de \
--cc=tom@tromey.com \
/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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).