Support styling on native MS-Windows console
[external/binutils.git] / gdb / ChangeLog
index eb8eb15..b6c78f0 100644 (file)
@@ -1,3 +1,41 @@
+2019-03-08  Eli Zaretskii  <eliz@gnu.org>
+
+       Support styling on native MS-Windows console
+
+       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-07  Brian Vandenberg  <phantall@gmail.com>
+           Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
+
+       PR gdb/8527
+       * procfs.c (proc_wait_for_stop): Wrap write of PCWSTOP in
+       set_sigint_trap, clear_sigint_trap.
+
+2019-03-02  Eli Zaretskii  <eliz@gnu.org>
+
+       * xml-syscall.c (xml_list_syscalls_by_group): Drop 'struct' from
+       for-loop range, to avoid compiler warnings.
+
+       * tui/tui.c (tui_enable) [__MINGW32__]: Don't declare 'cap', to
+       avoid compiler warnings about unused variables.
+
+2019-03-02  Eli Zaretskii  <eliz@gnu.org>
+
+       * NEWS: Mention end of support for native debugging on MS-Windows
+       before XP.
+
 2019-03-02  Eli Zaretskii  <eliz@gnu.org>
 
        PR gdb/24292