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.
This commit is contained in:
Jon Turney 2019-12-29 22:26:41 +00:00
parent 2a1ebfb221
commit 06a6207a1a
No known key found for this signature in database
GPG Key ID: C7C86F0370285C81
2 changed files with 5 additions and 1 deletions

View 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

View 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;