This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] s/get_regcache_arch (regcache)/regcache->arch ()/g
- From: Yao Qi <qiyaoltc at gmail dot com>
- To: "gdb-patches at sourceware dot org" <gdb-patches at sourceware dot org>
- Date: Wed, 25 Oct 2017 16:41:01 +0100
- Subject: Re: [PATCH] s/get_regcache_arch (regcache)/regcache->arch ()/g
- Authentication-results: sourceware.org; auth=none
- References: <1508488843-31532-1-git-send-email-yao.qi@linaro.org>
On Fri, Oct 20, 2017 at 9:40 AM, Yao Qi <qiyaoltc@gmail.com> wrote:
> This patches removes get_regcache_arch, and use regache->arch () instead.
> The motivation of this change is that I am going to move some basic stuff
> into a base class of regcache. I don't need to update "client" code
> regcache->arch (). On the other hand, this patch shortens the code a
> little bit.
>
> Rebuild GDB with all targets enabled on x86_64-linux. Also rebuild GDB
> for native arm-linux, aarch64-linux, x86_64-w64-mingw32, and
> i686-w64-mingw32.
>
I pushed it in.
--
Yao (齐尧)