Enable styling by default on Cygwin
authorJon Turney <jon.turney@dronecode.org.uk>
Sun, 29 Dec 2019 22:26:41 +0000 (22:26 +0000)
committerJon Turney <jon.turney@dronecode.org.uk>
Tue, 7 Jan 2020 13:45:01 +0000 (13:45 +0000)
Cygwin meets the expectations of gdb for styling (if TERM is set and not
'DUMB', the terminal supports 'ANSI' (ECMA-48) escape sequences.

gdb/ChangeLog:

2020-01-02  Jon Turney  <jon.turney@dronecode.org.uk>

* cli/cli-style.c: Set cli_styling to 'true' in the Cygwin build.

gdb/ChangeLog
gdb/cli/cli-style.c

index 3f37153af3f1e654fed653fad7bd7ad812824d32..b82ef3d09d72a2c4568de15dc00e23a0ddf57a18 100644 (file)
@@ -1,3 +1,7 @@
+2020-01-02  Jon Turney  <jon.turney@dronecode.org.uk>
+
+       * cli/cli-style.c: Set cli_styling to 'true' in the Cygwin build.
+
 2020-01-06  Andrew Burgess  <andrew.burgess@embecosm.com>
 
        * stack.c (print_frame_info): Move disassemble_next_line code
index 7e20c1b4826b3d903fd94027a6c177d5b3e96754..f3d98ae4091008cf524ed7085e7c31e204d8cf72 100644 (file)
@@ -25,7 +25,7 @@
 
 /* True if styling is enabled.  */
 
-#if defined (__MSDOS__) || defined (__CYGWIN__)
+#if defined (__MSDOS__)
 bool cli_styling = false;
 #else
 bool cli_styling = true;
This page took 0.02547 seconds and 4 git commands to generate.