From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 49148 invoked by alias); 28 Aug 2018 12:01:50 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 48988 invoked by uid 89); 28 Aug 2018 12:01:41 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-11.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM,GIT_PATCH_2,GIT_PATCH_3,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=msys2, MSYS2 X-HELO: mail-wm0-f46.google.com Received: from mail-wm0-f46.google.com (HELO mail-wm0-f46.google.com) (74.125.82.46) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 28 Aug 2018 12:01:40 +0000 Received: by mail-wm0-f46.google.com with SMTP id n11-v6so1718877wmc.2 for ; Tue, 28 Aug 2018 05:01:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:subject:to:message-id:date:user-agent:mime-version :content-language; bh=u6D8jIC8f2WsGGwvAC6NgszUEFDQLrkLnvJYO3PPxTk=; b=ewN1AOA0/6ENUTcymGoJmfaRcOLkvl6s0OKJf3iz5x+Kl6Q/vQIM2d4IfEF3KltP2V 1mg1nhBHFFg95VzCmSOvPfHO1R8vWuFQh0T2lQ6SXa3Lr4u4AvtDRvOWiN0NY4rL7G2p Sxbqgx14yixQMF38t6YExbdaveEpy0YSQc98ieWjbgyekQltp3a+ylyojJ5J8e4fsWdP pgeuWeaah3x0L/XZ8yC4pBIgvGXT4U4JSglQQHtftGqVsTJh96N4f3dS54s8arU5vM2n Lkzd3+CMNpqtwXKZpBlJF1lUk01R4FQ9KB4c0S8WKTSkv+W0XQOq/uMdW7DhtbswSmFD ZRKA== Return-Path: Received: from ?IPv6:2a01:e35:2eac:2a80:7c7d:2022:97ba:9bab? ([2a01:e35:2eac:2a80:7c7d:2022:97ba:9bab]) by smtp.gmail.com with ESMTPSA id x24-v6sm1957817wrd.13.2018.08.28.05.01.35 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 28 Aug 2018 05:01:36 -0700 (PDT) From: SiZiOUS Subject: [PATCH][PR build/23568] Fix gdb-7.12.1 MinGW/MSYS build issue To: gdb-patches@sourceware.org Message-ID: <56c5911c-e0ba-5a17-64bb-3634af60a07d@gmail.com> Date: Tue, 28 Aug 2018 12:01:00 -0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.0 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="------------07D348D9BB5AC30CB6921820" X-SW-Source: 2018-08/txt/msg00682.txt.bz2 This is a multi-part message in MIME format. --------------07D348D9BB5AC30CB6921820 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-length: 792 This little patch was made to allow the compilation under the MinGW/MSYS legacy environment (I don't know for the newer MinGW-w64/MSYS2 environment!). If this patch is not applied, then the compilation of gdb-7.12.1 under MinGW/MSYS is impossible. This fix is not intrusive as it's taken into account only if ERROR_IO_PENDING is not declared in the current scope, so it should be considered safe. See the Bugzilla bug entry for more details. Please note, this fix only allows the build possible under MinGW/MSYS, there is no bug fixes or improvements for GDB itself. gdb/ChangeLog: 2018-08-28 SiZiOUS PR build/23568 * ser-mingw.c: Conditioned fix allowing compilation under the MinGW/MSYS legacy environment ('ERROR_IO_PENDING' was not declared in the scope). --------------07D348D9BB5AC30CB6921820 Content-Type: text/plain; charset=UTF-8; name="ser-mingw.diff" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="ser-mingw.diff" Content-length: 366 LS0tIHNlci1taW5ndy5jCTIwMTctMDEtMjEgMTM6NDY6NDcgKzAwMDAKKysr IHNlci1taW5ndy5jLXByX2J1aWxkXzIzNTY4CTIwMTgtMDgtMjggMTE6NDQ6 MzggKzAwMDAKQEAgLTMxLDYgKzMxLDEwIEBACiAKICNpbmNsdWRlICJjb21t YW5kLmgiCiAKKyNpZm5kZWYgRVJST1JfSU9fUEVORElORworI2luY2x1ZGUg PHdpbmVycm9yLmg+CisjZW5kaWYKKwogdm9pZCBfaW5pdGlhbGl6ZV9zZXJf d2luZG93cyAodm9pZCk7CiAKIHN0cnVjdCBzZXJfd2luZG93c19zdGF0ZQo= --------------07D348D9BB5AC30CB6921820--