[PATCH 0/3] Fix gdb.reverse/solib-precsave.exp fails in -mthumb

Yao Qi qiyaoltc@gmail.com
Thu Mar 16 16:37:00 GMT 2017


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



More information about the Gdb-patches mailing list