From: Eli Zaretskii via Gdb-patches <gdb-patches@sourceware.org>
To: Tom Tromey <tom@tromey.com>
Cc: gdb-patches@sourceware.org
Subject: Re: [PATCH v2] Support the NO_COLOR environment variable
Date: Tue, 26 Sep 2023 05:29:18 +0300 [thread overview]
Message-ID: <83pm251xc1.fsf@gnu.org> (raw)
In-Reply-To: <20230925195751.1120801-1-tom@tromey.com> (message from Tom Tromey on Mon, 25 Sep 2023 13:57:51 -0600)
> From: Tom Tromey <tom@tromey.com>
> Date: Mon, 25 Sep 2023 13:57:51 -0600
> Cc: Tom Tromey <tom@tromey.com>
>
> I ran across this site:
>
> https://no-color.org/
>
> ... which lobbies for tools to recognize the NO_COLOR environment
> variable and disable any terminal styling when it is seen.
>
> This patch implements this for gdb.
>
> Regression tested on x86-64 Fedora 38.
>
> Co-Authored-By: Andrew Burgess <aburgess@redhat.com>
> ---
> gdb/NEWS | 4 ++++
> gdb/doc/gdb.texinfo | 3 +++
> gdb/main.c | 4 ++++
> gdb/testsuite/gdb.base/early-init-file.exp | 4 +---
> gdb/testsuite/gdb.base/readline-ask.exp | 2 ++
> .../gdb.base/style-interp-exec-mi.exp | 5 +----
> gdb/testsuite/gdb.base/style-logging.exp | 5 +----
> gdb/testsuite/gdb.base/style.exp | 11 +++++-----
> .../build-id-no-debug-warning.exp | 5 +----
> gdb/testsuite/gdb.debuginfod/crc_mismatch.exp | 5 +----
> gdb/testsuite/gdb.python/py-format-string.exp | 3 +--
> .../gdb.python/py-source-styling.exp | 4 +---
> gdb/testsuite/gdb.python/py-startup-opt.exp | 5 +----
> gdb/testsuite/gdb.rust/rust-style.exp | 5 +----
> gdb/testsuite/gdb.tui/tui-layout.exp | 18 +++++++++-------
> gdb/testsuite/lib/gdb.exp | 21 ++++++++++++++++++-
> gdb/testsuite/lib/tuiterm.exp | 3 ++-
> 17 files changed, 60 insertions(+), 47 deletions(-)
Thanks, the documentation parts are okay.
Reviewed-By: Eli Zaretskii <eliz@gnu.org>
next prev parent reply other threads:[~2023-09-26 2:30 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-09-25 19:57 Tom Tromey
2023-09-26 0:19 ` Kevin Buettner via Gdb-patches
2023-09-26 2:29 ` Eli Zaretskii via Gdb-patches [this message]
2023-09-26 13:50 ` Andrew Burgess via Gdb-patches
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=83pm251xc1.fsf@gnu.org \
--to=gdb-patches@sourceware.org \
--cc=eliz@gnu.org \
--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