From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 121902 invoked by alias); 19 Nov 2015 13:01:16 -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 121768 invoked by uid 89); 19 Nov 2015 13:01:14 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.3 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-pa0-f49.google.com Received: from mail-pa0-f49.google.com (HELO mail-pa0-f49.google.com) (209.85.220.49) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Thu, 19 Nov 2015 13:01:08 +0000 Received: by pacdm15 with SMTP id dm15so80844489pac.3 for ; Thu, 19 Nov 2015 05:01:06 -0800 (PST) X-Received: by 10.66.102.65 with SMTP id fm1mr10374927pab.20.1447938066589; Thu, 19 Nov 2015 05:01:06 -0800 (PST) Received: from E107787-LIN.cambridge.arm.com (gcc1-power7.osuosl.org. [140.211.15.137]) by smtp.gmail.com with ESMTPSA id ag1sm10658559pbc.41.2015.11.19.05.01.05 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 19 Nov 2015 05:01:05 -0800 (PST) From: Yao Qi X-Google-Original-From: Yao Qi To: gdb-patches@sourceware.org Subject: [PATCH 0/4] [C++, AArch64] Fix warnings and errors Date: Thu, 19 Nov 2015 13:01:00 -0000 Message-Id: <1447938062-29624-1-git-send-email-yao.qi@linaro.org> X-IsSubscribed: yes X-SW-Source: 2015-11/txt/msg00387.txt.bz2 This patch set fixes warnings and errors when I build GDB and GDBserver in C++ mode for native aarch64-linux. There is still one error fixed by Simon's patch, [PATCH] Fix length calculation in aarch64_linux_set_debug_regs https://sourceware.org/ml/gdb-patches/2015-11/msg00010.html I think Simon's patch should go in too. Each of them is obvious to me. I'll push them in soon. *** BLURB HERE *** Yao Qi (4): Cast void * to struct user_pt_regs * Cast void * to user_fpsimd_state *. Define enum out of the scope of struct Change argument opcode type from enum aarch64_opcodes to uint32_t gdb/gdbserver/linux-aarch64-low.c | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) -- 1.9.1