Support styling on native MS-Windows console
[external/binutils.git] / gdb / ChangeLog
index acf787b..b6c78f0 100644 (file)
@@ -1,3 +1,59 @@
+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
+       * common/netstuff.c:
+       * gdbserver/gdbreplay.c
+       * gdbserver/remote-utils.c:
+       * ser-tcp.c:
+       * unittests/parse-connection-spec-selftests.c [USE_WIN32API]:
+       Include ws2tcpip.h instead of wsiapi.h and winsock2.h.  Redefine
+       _WIN32_WINNT to 0x0501 if defined to a smaller value, as
+       'getaddrinfo' and 'freeaddrinfo' were not available before
+       Windows XP, and mingw.org's MinGW headers by default define
+       _WIN32_WINNT to 0x500.
+
+2019-02-27  Kevin Buettner  <kevinb@redhat.com>
+    
+       * NEWS: Note minimum Python version.
+
 2019-02-27  Joel Brobecker  <brobecker@adacore.com>
 
        * version.in: Set GDB version number to 8.2.90.DATE-git.