From patchwork Tue Jun 16 08:42:16 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yao Qi X-Patchwork-Id: 7196 Received: (qmail 90094 invoked by alias); 16 Jun 2015 08:42:25 -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 90083 invoked by uid 89); 16 Jun 2015 08:42:24 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL, BAYES_00, FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-pd0-f177.google.com Received: from mail-pd0-f177.google.com (HELO mail-pd0-f177.google.com) (209.85.192.177) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Tue, 16 Jun 2015 08:42:23 +0000 Received: by pdjm12 with SMTP id m12so9605517pdj.3 for ; Tue, 16 Jun 2015 01:42:21 -0700 (PDT) X-Received: by 10.68.243.9 with SMTP id wu9mr56608020pbc.28.1434444141551; Tue, 16 Jun 2015 01:42:21 -0700 (PDT) Received: from E107787-LIN (gcc1-power7.osuosl.org. [140.211.15.137]) by mx.google.com with ESMTPSA id sn7sm540159pac.5.2015.06.16.01.42.19 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Tue, 16 Jun 2015 01:42:20 -0700 (PDT) From: Yao Qi To: Martin Simmons Cc: Yao Qi , gdb-patches@sourceware.org Subject: Re: [PATCH] Fix compilation of gdb/arm-linux-nat.c on Raspbian GNU/Linux 7 References: <201506151243.t5FChjwS012722@heapu.cam.lispworks.com> <557ECC66.5060606@gmail.com> <201506151632.t5FGWEOb023695@higson.cam.lispworks.com> Date: Tue, 16 Jun 2015 09:42:16 +0100 In-Reply-To: <201506151632.t5FGWEOb023695@higson.cam.lispworks.com> (Martin Simmons's message of "Mon, 15 Jun 2015 17:32:14 +0100") Message-ID: <86oakgrqmv.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 X-IsSubscribed: yes Martin Simmons writes: >> Do you have the commit access to gdb git repository? > > No. I pushed the patch in for you. diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 1828ae6..556fbae 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2015-06-16 Martin Simmons (tiny patch) + + * arm-linux-nat.c: Include nat/linux-ptrace.h. + 2015-06-15 Simon Marchi * mi/mi-main.c (mi_cmd_data_read_memory_bytes): Consider addressable diff --git a/gdb/arm-linux-nat.c b/gdb/arm-linux-nat.c index b18d443..10aea07 100644 --- a/gdb/arm-linux-nat.c +++ b/gdb/arm-linux-nat.c @@ -36,6 +36,8 @@ #include #include +#include "nat/linux-ptrace.h" + /* Prototypes for supply_gregset etc. */ #include "gregset.h"