From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 115650 invoked by alias); 28 May 2015 09:39:24 -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 115618 invoked by uid 89); 28 May 2015 09:39:24 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.7 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-f44.google.com Received: from mail-pa0-f44.google.com (HELO mail-pa0-f44.google.com) (209.85.220.44) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Thu, 28 May 2015 09:39:23 +0000 Received: by pabru16 with SMTP id ru16so19629879pab.1 for ; Thu, 28 May 2015 02:39:21 -0700 (PDT) X-Received: by 10.66.139.138 with SMTP id qy10mr4006973pab.30.1432805961332; Thu, 28 May 2015 02:39:21 -0700 (PDT) Received: from [127.0.0.1] (gcc1-power7.osuosl.org. [140.211.15.137]) by mx.google.com with ESMTPSA id cd10sm1776908pac.7.2015.05.28.02.39.19 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 28 May 2015 02:39:20 -0700 (PDT) Message-ID: <5566E243.1090500@gmail.com> Date: Thu, 28 May 2015 09:39:00 -0000 From: Yao Qi User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: gdb-patches@sourceware.org Subject: Re: [PATCH 1/2] Remove global variable arm_linux_vfp_register_count in arm-linux-nat.c References: <1432654291-25436-1-git-send-email-yao.qi@linaro.org> In-Reply-To: <1432654291-25436-1-git-send-email-yao.qi@linaro.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-IsSubscribed: yes X-SW-Source: 2015-05/txt/msg00677.txt.bz2 On 26/05/15 16:31, Yao Qi wrote: > gdb: > > 2015-05-26 Yao Qi > > * arm-linux-nat.c (arm_linux_vfp_register_count): Remove. > (fetch_vfp_regs): Use vfp_register_count from gdbarch_tdep > instead of arm_linux_vfp_register_count. > (store_vfp_regs): Likewise. > (arm_linux_fetch_inferior_registers): Likewise. > (arm_linux_store_inferior_registers): Likewise. > (arm_linux_read_description): Don't set > arm_linux_vfp_register_count. > * arm-linux-tdep.c (arm_linux_iterate_over_regset_sections): > Adjust. > * arm-tdep.c (arm_gdbarch_init): Add assert on > vfp_register_count. > * arm-tdep.h (struct gdbarch_tdep) : Rename > field to vfp_register_count. All users updated. I've pushed two patches in. -- Yao (齐尧)