aboutsummaryrefslogtreecommitdiff
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
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.
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/cli/cli-style.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 3f37153..b82ef3d 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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
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;