]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
gdb: Document recent enhancements when using Windows Terminal
authorEli Zaretskii <eliz@gnu.org>
Fri, 23 Jan 2026 08:02:37 +0000 (10:02 +0200)
committerEli Zaretskii <eliz@gnu.org>
Fri, 23 Jan 2026 08:02:37 +0000 (10:02 +0200)
* gdb/NEWS:
* gdb/doc/gdb.texinfo (Output Styling): Document support for
24-bit colors and UTF-8 output, including emoji styling.

gdb/NEWS
gdb/doc/gdb.texinfo

index 74fc353d7e9d9ab5e4dcaa07148cc22507d61bb8..f50568e7f0cf56a50db292d74999cded11d5ed46 100644 (file)
--- a/gdb/NEWS
+++ b/gdb/NEWS
 
 * Support for Floating Point Mode Register (FPMR) in AArch64.
 
+* When running on the Windows Terminal console, GDB now supports
+  true-color 24-bit colors.
+
+* When running on the Windows Terminal console whose output codepage
+  is 65001, GDB now supports emoji styling and display of UTF-8
+  encoded text in general.  The host charset in that case will be
+  automatically set to UTF-8.  (Users can use the Windows 'chcp'
+  command to change the output codepage of the console.)
+
 * New targets
 
 GNU/Linux/MicroBlaze (gdbserver) microblazeel-*linux*
index 7059f73935cf6a97501ccae09bfa9883f0c82b30..80f49e21b7e1a43a0a83523c77a7dcb32580f9fb 100644 (file)
@@ -28259,8 +28259,9 @@ Show the current state of styling.
 Enable or disable the use of emoji.  On most hosts, the default is
 @samp{auto}, meaning that emoji will only be used if the host
 character set is @samp{UTF-8}; however, on Windows the default is
-@samp{off} when using the console.  Note that disabling styling as a
-whole will also prevent emoji display.
+@samp{off} when using the console, unless the console's output
+codepage is 65001, the Windows UTF-8 codepage.  Note that disabling
+styling as a whole will also prevent emoji display.
 
 Currently, emoji are printed whenever @value{GDBN} reports an error or
 a warning.