From patchwork Sat Aug 24 19:34:05 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Will Newton X-Patchwork-Id: 19519 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-yh0-f71.google.com (mail-yh0-f71.google.com [209.85.213.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id AAB8025A57 for ; Sat, 24 Aug 2013 19:34:10 +0000 (UTC) Received: by mail-yh0-f71.google.com with SMTP id c41sf1875876yho.2 for ; Sat, 24 Aug 2013 12:34:10 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-gm-message-state:delivered-to:message-id:date:from:user-agent :mime-version:to:cc:subject:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe:content-type :content-transfer-encoding; bh=dGSDF2Stn8s1Swyq2j4sI02l0FlVIZ7IS7yE6ykO2Dc=; b=YfpIfIC5AREcrLRoQSxtm9MUIew7eIdq+Oe0mpNQHGJwWjBITD0xt5X7lVNSnUGCHr vHc9FvzpKLLwTrJOYrE2APMhGsEP/VZs0vF8GQtRUjRPrRbeWhZABF/V3KhuIIBNGqCU YHCgufqxPsEcF2K6udlOCfIsHiJafL3Z+rm3OmFfdWUfPl6dxCa9oFDkGNLkJhzCxAfJ v2daYU033T+4vmjaZ9wXPDul9t/R2PyQC4pd9BrXSc2mU16FWwZncI9MgkuZKeDPSWGE zSX2la6hPUovKQbJStgF+3vew1iHfdp6+gt4w2xG6zyMrUpce7cWDSb07KqMPTwln32u jPvw== X-Received: by 10.236.19.225 with SMTP id n61mr2283435yhn.8.1377372850227; Sat, 24 Aug 2013 12:34:10 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.71.168 with SMTP id w8ls1871847qeu.64.gmail; Sat, 24 Aug 2013 12:34:10 -0700 (PDT) X-Received: by 10.221.64.17 with SMTP id xg17mr5884019vcb.5.1377372850042; Sat, 24 Aug 2013 12:34:10 -0700 (PDT) Received: from mail-vc0-f169.google.com (mail-vc0-f169.google.com [209.85.220.169]) by mx.google.com with ESMTPS id rl1si1597672vcb.149.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 24 Aug 2013 12:34:10 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.169 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.220.169; Received: by mail-vc0-f169.google.com with SMTP id ib11so1267961vcb.28 for ; Sat, 24 Aug 2013 12:34:10 -0700 (PDT) X-Gm-Message-State: ALoCoQlezx4e5tmEbQDzbmZRo6Fz2++fiVb3a5NXbhtfTtZYTYHOo9a+3PVx4cCR/r/vg/mkiWi1 X-Received: by 10.52.76.38 with SMTP id h6mr4762990vdw.10.1377372849931; Sat, 24 Aug 2013 12:34:09 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.220.174.196 with SMTP id u4csp160350vcz; Sat, 24 Aug 2013 12:34:09 -0700 (PDT) X-Received: by 10.14.108.9 with SMTP id p9mr10484940eeg.8.1377372848461; Sat, 24 Aug 2013 12:34:08 -0700 (PDT) Received: from mail-ea0-f176.google.com (mail-ea0-f176.google.com [209.85.215.176]) by mx.google.com with ESMTPS id 47si4542142eea.301.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 24 Aug 2013 12:34:08 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.215.176 is neither permitted nor denied by best guess record for domain of will.newton@linaro.org) client-ip=209.85.215.176; Received: by mail-ea0-f176.google.com with SMTP id q16so872034ead.35 for ; Sat, 24 Aug 2013 12:34:07 -0700 (PDT) X-Received: by 10.15.36.9 with SMTP id h9mr10508148eev.30.1377372847711; Sat, 24 Aug 2013 12:34:07 -0700 (PDT) Received: from localhost.localdomain (cpc6-seac21-2-0-cust453.7-2.cable.virginmedia.com. [82.1.113.198]) by mx.google.com with ESMTPSA id d8sm8774318eeh.8.1969.12.31.16.00.00 (version=TLSv1 cipher=RC4-SHA bits=128/128); Sat, 24 Aug 2013 12:34:06 -0700 (PDT) Message-ID: <52190AAD.2050901@linaro.org> Date: Sat, 24 Aug 2013 20:34:05 +0100 From: Will Newton User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130805 Thunderbird/17.0.8 MIME-Version: 1.0 To: gdb-patches@sourceware.org CC: patches@linaro.org Subject: [PATCH] common/linux-ptrace.c: Fix build on non-Intel architectures. X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: will.newton@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.220.169 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , As uintptr_t is used stdint.h must be included on all architectures. 2013-08-24 Will Newton * common/linux-ptrace.c: Include stdint.h unconditionally. --- gdb/common/linux-ptrace.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gdb/common/linux-ptrace.c b/gdb/common/linux-ptrace.c index a4a2ca3..3a8e25e 100644 --- a/gdb/common/linux-ptrace.c +++ b/gdb/common/linux-ptrace.c @@ -30,6 +30,8 @@ #include "gdb_assert.h" #include "gdb_wait.h" +#include + /* Stores the currently supported ptrace options. A value of -1 means we did not check for features yet. A value of 0 means there are no supported features. */ @@ -64,7 +66,6 @@ extern void (linux_ptrace_test_ret_to_nx_instr) (void); #include #include #include -#include #endif /* defined __i386__ || defined __x86_64__ */