From patchwork Sat Jan 21 06:12:14 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexey Neyman X-Patchwork-Id: 18980 Received: (qmail 96331 invoked by alias); 21 Jan 2017 06:12:20 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Delivered-To: mailing list gdb-patches@sourceware.org Received: (qmail 96220 invoked by uid 89); 21 Jan 2017 06:12:18 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=0.1 required=5.0 tests=AWL, BAYES_50, FREEMAIL_FROM, RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 spammy=musl, uclibc, Apr, submission X-HELO: nm6-vm5.access.bullet.mail.bf1.yahoo.com Received: from nm6-vm5.access.bullet.mail.bf1.yahoo.com (HELO nm6-vm5.access.bullet.mail.bf1.yahoo.com) (216.109.114.148) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sat, 21 Jan 2017 06:12:17 +0000 Received: from [66.196.81.159] by nm6.access.bullet.mail.bf1.yahoo.com with NNFMP; 21 Jan 2017 06:12:15 -0000 Received: from [98.138.104.98] by tm5.access.bullet.mail.bf1.yahoo.com with NNFMP; 21 Jan 2017 06:12:15 -0000 Received: from [127.0.0.1] by smtp118.sbc.mail.ne1.yahoo.com with NNFMP; 21 Jan 2017 06:12:15 -0000 X-Yahoo-SMTP: 0h0Q7euswBD_g.kcEqbzJWRFfrba801gq1M1 To: gdb-patches@sourceware.org, Andre McCurdy From: Alexey Neyman Subject: [PATCH] PR gdb/21070: Build fix for MIPS with musl libc Message-ID: Date: Fri, 20 Jan 2017 22:12:14 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 MIME-Version: 1.0 Hi, This issue has been reported in crosstool-ng; the patch is from OpenEmbedded. Quoting the description from the patch: [[[[ The MIPS specific header is provided by glibc and uclibc but not by musl. Regardless of the libc, the kernel headers provide which provides the same definitions, so use that instead. ]]]] I am not the original developer, but the patch appears to be properly signed-off. I just edited the commit message to conform to submission guidelines. Regards, Alexey. From c1ca557f184a90961fb9ac114a7977b564bda6a0 Mon Sep 17 00:00:00 2001 From: Andre McCurdy Date: Sat, 30 Apr 2016 15:29:06 -0700 Subject: [PATCH] PR gdb/21070: Build fix for MIPS with musl libc The MIPS specific header is provided by glibc and uclibc but not by musl. Regardless of the libc, the kernel headers provide which provides the same definitions, so use that instead. Signed-off-by: Andre McCurdy Signed-off-by: Khem Raj --- gdb/mips-linux-nat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gdb/mips-linux-nat.c b/gdb/mips-linux-nat.c index 9d22773..0062c7e 100644 --- a/gdb/mips-linux-nat.c +++ b/gdb/mips-linux-nat.c @@ -31,7 +31,7 @@ #include "gdb_proc_service.h" #include "gregset.h" -#include +#include #include "nat/gdb_ptrace.h" #include -- 2.9.3