aboutsummaryrefslogtreecommitdiff
path: root/gdb/cli
diff options
context:
space:
mode:
authorJon Turney <jon.turney@dronecode.org.uk>2019-12-29 22:26:41 +0000
committerJon Turney <jon.turney@dronecode.org.uk>2020-01-07 13:45:01 +0000
commit06a6207a1ab458521656f293bb1ca8fd013d6f7c (patch)
tree17f260e27b113c4df42b4aefd3472fef9bcc7a14 /gdb/cli
parent2a1ebfb221f5f52a743b7ea4c504a7318956c49c (diff)
downloadgdb-06a6207a1ab458521656f293bb1ca8fd013d6f7c.zip
gdb-06a6207a1ab458521656f293bb1ca8fd013d6f7c.tar.gz
gdb-06a6207a1ab458521656f293bb1ca8fd013d6f7c.tar.bz2
Enable styling by default on Cygwin
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.
Diffstat (limited to 'gdb/cli')
-rw-r--r--gdb/cli/cli-style.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/cli/cli-style.c b/gdb/cli/cli-style.c
index 7e20c1b..f3d98ae 100644
--- a/gdb/cli/cli-style.c
+++ b/gdb/cli/cli-style.c
@@ -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;