This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] s/get_regcache_arch (regcache)/regcache->arch ()/g


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 (齐尧)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]