From: "gmail Vladimir Koković via Gdb-patches" <gdb-patches@sourceware.org>
To: gdb-patches@sourceware.org
Subject: mingw --enable-tui
Date: Sun, 22 Nov 2020 12:44:56 +0100 [thread overview]
Message-ID: <ebb0bbe2-c764-7f28-98a1-70f55f3da64d@gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 185 bytes --]
Hi,
I managed to make mingw cross build 32 and 64, but I had to change
gdb/tui//tui-win.c because of mingw64.
Vladimir Koković, DP senior(70),
Serbia, Belgrade, 22.November 2020
[-- Attachment #2: tui-win-c.patch --]
[-- Type: text/x-patch, Size: 948 bytes --]
# This patch file was generated by NetBeans IDE
# It uses platform neutral UTF-8 encoding and \n newlines.
--- a/tui-win.c
+++ b/tui-win.c
@@ -118,6 +118,17 @@
The list of values must be terminated by a NULL.
After the NULL value, an entry defines the default. */
static struct tui_translate tui_border_mode_translate[] = {
+#ifdef __MINGW64__
+ { "normal", (int)A_NORMAL },
+ { "standout", (int)A_STANDOUT },
+ { "reverse", (int)A_REVERSE },
+ { "half", (int)A_DIM },
+ { "half-standout", (int)A_DIM | (int)A_STANDOUT },
+ { "bold", (int)A_BOLD },
+ { "bold-standout", (int)A_BOLD | (int)A_STANDOUT },
+ { 0, 0 },
+ { "normal", (int)A_NORMAL }
+#else
{ "normal", A_NORMAL },
{ "standout", A_STANDOUT },
{ "reverse", A_REVERSE },
@@ -127,6 +138,7 @@
{ "bold-standout", A_BOLD | A_STANDOUT },
{ 0, 0 },
{ "normal", A_NORMAL }
+#endif
};
/* Translation tables for border-kind, one for each border
next reply other threads:[~2020-11-22 11:45 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-11-22 11:44 gmail Vladimir Koković via Gdb-patches [this message]
2020-11-22 12:13 ` gmail Vladimir Koković via Gdb-patches
2020-11-22 15:31 ` Eli Zaretskii via Gdb-patches
2020-11-22 16:19 ` gmail Vladimir Koković via Gdb-patches
2020-11-22 16:23 ` Eli Zaretskii via Gdb-patches
2020-11-22 16:35 ` gmail Vladimir Koković via Gdb-patches
2020-11-22 16:55 ` Eli Zaretskii via Gdb-patches
2020-11-22 17:06 ` gmail Vladimir Koković via Gdb-patches
2020-11-22 17:20 ` Tom Tromey
2020-11-22 18:24 ` Eli Zaretskii via Gdb-patches
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ebb0bbe2-c764-7f28-98a1-70f55f3da64d@gmail.com \
--to=gdb-patches@sourceware.org \
--cc=vladimir.kokovic@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox