From 06a6207a1ab458521656f293bb1ca8fd013d6f7c Mon Sep 17 00:00:00 2001 From: Jon Turney Date: Sun, 29 Dec 2019 22:26:41 +0000 Subject: [PATCH] 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 * cli/cli-style.c: Set cli_styling to 'true' in the Cygwin build. --- gdb/ChangeLog | 4 ++++ gdb/cli/cli-style.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 3f37153af3..b82ef3d09d 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2020-01-02 Jon Turney + + * cli/cli-style.c: Set cli_styling to 'true' in the Cygwin build. + 2020-01-06 Andrew Burgess * 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 7e20c1b482..f3d98ae409 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; -- 2.34.1