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 0/9 v2] Unit test to gdbarch methods register_to_value and value_to_register


On Wed, May 10, 2017 at 2:10 PM, Yao Qi <qiyaoltc@gmail.com> wrote:
> Alan recently has some patches removing/replacing MAX_REGISTER_SIZE, and
> they touch some target dependent code that we can't test, which makes
> me a little nervous.  This patch set adds a unit test to gdbarch methods
> register_to_value and value_to_register (in patch #9).
>
> Patches #3 - #6 are to restrict $ARCH_convert_register_p for some cases
> only exists in the unit test.  Patch #7 fixes a bug found by the unit
> test.  Patch #8 is a code refactor, to pave the way for patch #9.
> Patch #1 and #2 are not changed since V1.
>
> It is the V2 of this patch set, V1 can be found
> https://sourceware.org/ml/gdb-patches/2017-04/msg00393.html
> There are some changes compared with V1,
>
>  - Add some asserts,
>  - Sub-class regcache and override some methods for unit test,
>
> Regression tested on x86_64-linux and ppc64-linux.
>

I pushed them in.

-- 
Yao (齐尧)


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