From: Jon Turney Date: Sun, 29 Dec 2019 22:26:41 +0000 (+0000) Subject: Enable styling by default on Cygwin X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=06a6207a1ab458521656f293bb1ca8fd013d6f7c;p=binutils-gdb.git 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. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 3f37153af3f..b82ef3d09d7 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 7e20c1b4826..f3d98ae4091 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;