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/3] Fix gdb.reverse/solib-precsave.exp fails in -mthumb


On Fri, Mar 3, 2017 at 10:06 PM, Yao Qi <qiyaoltc@gmail.com> wrote:
> This patch set fixes these fails below when test case is compiled with
> -mthumb.
>
> FAIL: gdb.reverse/solib-precsave.exp: run until end part one
> FAIL: gdb.reverse/solib-precsave.exp: reverse-step third shr1
> FAIL: gdb.reverse/solib-precsave.exp: reverse-step second shr1
> FAIL: gdb.reverse/solib-precsave.exp: reverse-step first shr1
> FAIL: gdb.reverse/solib-precsave.exp: reverse-step generic
>
> These fails are caused by incorrect instruction handling in process
> record.  Patch 2 and 3 fixes them.  I also add some unit tests to
> arm process recording.  In order to unit tests, I changed arm process
> record to get instructions from class instruction_reader, so that we
> can provide the instructions we want in unit tests.
>
> With these patches applied, all these fails above are fixed.  Regression
> tested (only gdb.reverse) in arm-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]