From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 77225 invoked by alias); 28 Jul 2015 10:00:09 -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 77146 invoked by uid 89); 28 Jul 2015 10:00:09 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.1 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-f175.google.com Received: from mail-pd0-f175.google.com (HELO mail-pd0-f175.google.com) (209.85.192.175) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Tue, 28 Jul 2015 10:00:03 +0000 Received: by pdrg1 with SMTP id g1so68291981pdr.2 for ; Tue, 28 Jul 2015 03:00:01 -0700 (PDT) X-Received: by 10.70.140.70 with SMTP id re6mr78210775pdb.87.1438077601170; Tue, 28 Jul 2015 03:00:01 -0700 (PDT) Received: from E107787-LIN.cambridge.arm.com (gcc1-power7.osuosl.org. [140.211.15.137]) by smtp.gmail.com with ESMTPSA id fc3sm34350634pab.16.2015.07.28.02.59.59 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 28 Jul 2015 03:00:00 -0700 (PDT) From: Yao Qi X-Google-Original-From: Yao Qi To: gdb-patches@sourceware.org Subject: [PATCH 0/4] GDBserver linux-arm-low.c cleanup Date: Tue, 28 Jul 2015 10:00:00 -0000 Message-Id: <1438077592-15356-1-git-send-email-yao.qi@linaro.org> X-IsSubscribed: yes X-SW-Source: 2015-07/txt/msg00817.txt.bz2 This patch series is to clean up gdbserver/linux-arm-low.c, as a preparation for the aarch64 multi-arch debugging gdbserver patches. All of them are tested on panda board (vfpv3) and qemu system mode (vfpv2). *** BLURB HERE *** Yao Qi (4): Move ARM register numbers enum to arch/arm.h Don't use arm_regmap and arm_num_regs in arm_fill_gregset and arm_store_gregset Use regcache->tdesc instead of arm_hwcap Remove global variable arm_hwcap gdb/Makefile.in | 2 +- gdb/arch/arm.h | 61 +++++++++++++++++++++++++++++++++++++++++++ gdb/arm-tdep.h | 39 +-------------------------- gdb/gdbserver/linux-arm-low.c | 56 ++++++++++++++++++++------------------- 4 files changed, 92 insertions(+), 66 deletions(-) create mode 100644 gdb/arch/arm.h -- 1.9.1