public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Tom de Vries <tdevries@suse.de>
Cc: gdb-patches@sourceware.org
Subject: Re: [PATCH 1/3] [gdb/tui] Add maint set/show tui-left-margin-verbose
Date: Tue, 11 Apr 2023 11:47:25 +0300	[thread overview]
Message-ID: <83wn2iajqa.fsf@gnu.org> (raw)
In-Reply-To: <20230411082332.25052-1-tdevries@suse.de> (message from Tom de Vries via Gdb-patches on Tue, 11 Apr 2023 10:23:30 +0200)

> Cc: Tom Tromey <tom@tromey.com>
> Date: Tue, 11 Apr 2023 10:23:30 +0200
> From: Tom de Vries via Gdb-patches <gdb-patches@sourceware.org>
> 
>  gdb/doc/gdb.texinfo     |  8 ++++++++
>  gdb/tui/tui-source.c    |  5 ++++-
>  gdb/tui/tui-win.c       | 16 ++++++++++++++++
>  gdb/tui/tui-win.h       |  3 +++
>  gdb/tui/tui-winsource.c |  7 ++++++-
>  5 files changed, 37 insertions(+), 2 deletions(-)
> 
> diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
> index 2d5358a792b..bb96ddb2d52 100644
> --- a/gdb/doc/gdb.texinfo
> +++ b/gdb/doc/gdb.texinfo
> @@ -41242,6 +41242,14 @@ has been resized.  This setting is intended for use by the test suite,
>  where it would otherwise be difficult to determine when a resize and
>  refresh has been completed.
>  
> +@kindex maint set tui-left-margin-verbose
> +@kindex maint show tui-left-margin-verbose
> +@item maint set tui-left-margin-verbose
> +@item maint show tui-left-margin-verbose
> +Control whether the left margin of the TUI source and disassembly windows
> +uses @samp{_} and @samp{0} at locations where otherwise there would be a
> +space.  The default is @code{off}, which means spaces are used.

This is okay, but I suggest adding a sentence explaining the rationale
for using this command.  Otherwise, its purpose is unclear, not
without reading the description you included in the commit log.

Thanks.

Reviewed-By: Eli Zaretskii <eliz@gnu.org>

  parent reply	other threads:[~2023-04-11  8:46 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-11  8:23 Tom de Vries
2023-04-11  8:23 ` [PATCH 2/3] [gdb/tui] Fix left margin in disassembly window Tom de Vries
2023-04-12 20:43   ` Tom Tromey
2023-04-12 21:06   ` Andrew Burgess
2023-04-12 22:25     ` Tom de Vries
2023-04-13  9:12       ` Andrew Burgess
2023-04-13  9:25         ` Andrew Burgess
2023-04-13 15:05           ` Tom de Vries
2023-04-11  8:23 ` [PATCH 3/3] [gdb/tui] Revert workaround in tui_source_window::show_line_number Tom de Vries
2023-04-12 20:44   ` Tom Tromey
2023-04-11  8:47 ` Eli Zaretskii [this message]
2023-04-12 22:21   ` [PATCH 1/3] [gdb/tui] Add maint set/show tui-left-margin-verbose Tom de Vries
2023-04-12 20:42 ` Tom Tromey

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=83wn2iajqa.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=gdb-patches@sourceware.org \
    --cc=tdevries@suse.de \
    /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).