From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id LXlyDEBPul/sJwAAWB0awg (envelope-from ) for ; Sun, 22 Nov 2020 06:45:04 -0500 Received: by simark.ca (Postfix, from userid 112) id 25E661F0AB; Sun, 22 Nov 2020 06:45:04 -0500 (EST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-1.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id 566641F0A9 for ; Sun, 22 Nov 2020 06:45:03 -0500 (EST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 8F078385800B; Sun, 22 Nov 2020 11:45:02 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8F078385800B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1606045502; bh=dqXrK8pWzmCJaZ7wKl8y7/HUQxFFYVxI33YWoIZ0Hjg=; h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=pPXBgIv9ikfh41i85X1j+uM6mnh0gP+6+2zbUVqhbkaVtUrRrpBarHEzOibzNxBkM SKfrm0eEclmq7NLNaL5nPEZiCwaNcJrmdaLYsYx98j1d1mhQoIYj5WrYBQPzych9FI gvDxRU/KvupjlaLNJ7iEQLoDnTfwxEvZ1Z45bG1Y= Received: from mail-ej1-x633.google.com (mail-ej1-x633.google.com [IPv6:2a00:1450:4864:20::633]) by sourceware.org (Postfix) with ESMTPS id 4BC083858009 for ; Sun, 22 Nov 2020 11:45:00 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 4BC083858009 Received: by mail-ej1-x633.google.com with SMTP id lv15so13459627ejb.12 for ; Sun, 22 Nov 2020 03:45:00 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-language; bh=y1Ch8vvH9QrlNObM2HO98DblolR+90laszz27fGwlV0=; b=XAE5rdk4NQSr/QBnBNdUHO85B8oIcb46N9a/2vT/plYxGcQD8DHSf7ejYt/JQ0k+uo SCm999GKoLl1hALEONttD/w5mRvrCyfQ4gV3lJgo0kpvxXUyfju9JiY7fERcTTyxprLt YMVOW1eefAI7YK94mDBqxldq3Q6w4CPPmfKkdDXyoHI7fzI/IhzkN/t3qPoqEVQ+202K zlkvuEYb1kdU0Hsl3VzbHhq2A8tV5mL1Sw0bmHqmk1uJrNOeR83irQSmtdb29yvUCSqS MLny4GAn3otqzmAvu4FoKVxpns5QHH33pshw9tFo1EsLQzCcChFLHZooV5iDCmwBCMAo WvlQ== X-Gm-Message-State: AOAM531VrX4Cr3Q01S1iY0CQO/7T36zQHkixGEG0jpX4CJrt5CjXQknC x6F5qq9Q9kRzFFVsIDt3GMcgm4++X78= X-Google-Smtp-Source: ABdhPJxB1/OSFZwSZgsCzkZKXSd0tKbqSiCADgEgy1Gjl3q4xMyJVy4MIyp/OIvvkhs2ohdV8zVRXA== X-Received: by 2002:a17:906:5017:: with SMTP id s23mr42327071ejj.359.1606045498464; Sun, 22 Nov 2020 03:44:58 -0800 (PST) Received: from [192.168.0.13] ([95.180.105.28]) by smtp.gmail.com with ESMTPSA id z29sm1647950edi.1.2020.11.22.03.44.57 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 22 Nov 2020 03:44:57 -0800 (PST) To: gdb-patches@sourceware.org Subject: mingw --enable-tui Message-ID: Date: Sun, 22 Nov 2020 12:44:56 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.4.3 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="------------E1558387D37E44D73437C8BE" Content-Language: en-US X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: =?utf-8?q?gmail_Vladimir_Kokovi=C4=87_via_Gdb-patches?= Reply-To: =?UTF-8?Q?gmail_Vladimir_Kokovi=c4=87?= Errors-To: gdb-patches-bounces@sourceware.org Sender: "Gdb-patches" This is a multi-part message in MIME format. --------------E1558387D37E44D73437C8BE Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit 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 --------------E1558387D37E44D73437C8BE Content-Type: text/x-patch; charset=UTF-8; name="tui-win-c.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="tui-win-c.patch" # 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 --------------E1558387D37E44D73437C8BE--