This is the mail archive of the
gdb-testers@sourceware.org
mailing list for the GDB project.
[binutils-gdb/gdb-8.3-branch] Support styling on native MS-Windows console
- From: sergiodj+buildbot at sergiodj dot net
- To: gdb-testers at sourceware dot org
- Date: Sat, 09 Mar 2019 02:14:14 -0500
- Subject: [binutils-gdb/gdb-8.3-branch] Support styling on native MS-Windows console
*** TEST RESULTS FOR COMMIT 1778a983e2f31181644b7574b8d062e4be22e813 ***
Author: Eli Zaretskii <eliz@gnu.org>
Branch: gdb-8.3-branch
Commit: 1778a983e2f31181644b7574b8d062e4be22e813
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.
(cherry picked from commit e4adb93903d4ae0b7ab2b5004364e50627df95f7)
- Follow-Ups:
- Failures on RHEL-s390x-m64, branch gdb-8.3-branch
- Failures on Debian-s390x-native-extended-gdbserver-m64, branch gdb-8.3-branch
- Failures on Debian-s390x-native-gdbserver-m64, branch gdb-8.3-branch
- Failures on Debian-s390x-m64, branch gdb-8.3-branch
- Failures on Fedora-i686, branch gdb-8.3-branch
- Failures on Fedora-x86_64-native-extended-gdbserver-m32, branch gdb-8.3-branch
- Failures on Fedora-x86_64-cc-with-index, branch gdb-8.3-branch
- Failures on Fedora-x86_64-native-extended-gdbserver-m64, branch gdb-8.3-branch
- Failures on Fedora-x86_64-native-gdbserver-m64, branch gdb-8.3-branch
- Failures on Fedora-x86_64-m64, branch gdb-8.3-branch
- Failures on Fedora-x86_64-m32, branch gdb-8.3-branch
- Failures on Fedora-x86_64-native-gdbserver-m32, branch gdb-8.3-branch