diff options
author | Tom Tromey <tom@tromey.com> | 2023-09-15 17:24:26 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2023-09-29 10:55:43 -0600 |
commit | 4ebfd53de03599b73838ee339e47652ac26c37c0 (patch) | |
tree | 5990de5f860d32aa252dfb7564fbbb56179f737c /gdb/NEWS | |
parent | 2677a57064afd32076b85295bdc11de6e75e7e36 (diff) | |
download | gdb-4ebfd53de03599b73838ee339e47652ac26c37c0.zip gdb-4ebfd53de03599b73838ee339e47652ac26c37c0.tar.gz gdb-4ebfd53de03599b73838ee339e47652ac26c37c0.tar.bz2 |
Support the NO_COLOR environment variable
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>
Reviewed-by: Kevin Buettner <kevinb@redhat.com>
Reviewed-By: Eli Zaretskii <eliz@gnu.org>
Approved-By: Andrew Burgess <aburgess@redhat.com>
Diffstat (limited to 'gdb/NEWS')
-rw-r--r-- | gdb/NEWS | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -3,6 +3,10 @@ *** Changes since GDB 13 +* GDB now recognizes the NO_COLOR environment variable and disables + styling according to the spec. See https://no-color.org/. + Styling can be re-enabled with "set style enabled on". + * The AArch64 'org.gnu.gdb.aarch64.pauth' Pointer Authentication feature string has been deprecated in favor of the 'org.gnu.gdb.aarch64.pauth_v2' feature string. |