binutils-gdb/gdb/cli
Eli Zaretskii e4adb93903 Support styling on native MS-Windows console
gdb/ChangeLog:
2019-03-08  Eli Zaretskii  <eliz@gnu.org>

	PR/24315
	* utils.c (can_emit_style_escape) [_WIN32]: Don't disable styling
	on MS-Windows if $TERM is not defined.

	* cli/cli-style.c: Set cli_styling to 1 in the MinGW build.

	* posix-hdep.c (gdb_console_fputs):
	* mingw-hdep.c (rgb_to_16colors, gdb_console_fputs): New
	functions.
	* ui-file.h (gdb_console_fputs): Add prototype.

	* ui-file.c (stdio_file::puts): Call gdb_console_fputs, and fall
	back to fputs only if the former returns zero.
2019-03-09 08:44:56 +02:00
..
cli-cmds.c Remove excess calls to gdb_flush 2019-03-05 08:55:51 -07:00
cli-cmds.h Normalize include guards in gdb 2019-02-07 03:27:23 -07:00
cli-decode.c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
cli-decode.h Normalize include guards in gdb 2019-02-07 03:27:23 -07:00
cli-dump.c Normalize includes to use common/ 2019-01-25 15:28:16 -07:00
cli-interp.c C++-ify struct thread_fsm 2019-02-07 06:08:33 -07:00
cli-interp.h Normalize include guards in gdb 2019-02-07 03:27:23 -07:00
cli-logging.c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
cli-script.c Remove excess calls to gdb_flush 2019-03-05 08:55:51 -07:00
cli-script.h Normalize include guards in gdb 2019-02-07 03:27:23 -07:00
cli-setshow.c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
cli-setshow.h Normalize include guards in gdb 2019-02-07 03:27:23 -07:00
cli-style.c Support styling on native MS-Windows console 2019-03-09 08:44:56 +02:00
cli-style.h Normalize include guards in gdb 2019-02-07 03:27:23 -07:00
cli-utils.c Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
cli-utils.h Normalize include guards in gdb 2019-02-07 03:27:23 -07:00