This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 0/3] Fix gdb.reverse/solib-precsave.exp fails in -mthumb
- From: Yao Qi <qiyaoltc at gmail dot com>
- To: "gdb-patches at sourceware dot org" <gdb-patches at sourceware dot org>
- Date: Thu, 16 Mar 2017 16:37:27 +0000
- Subject: Re: [PATCH 0/3] Fix gdb.reverse/solib-precsave.exp fails in -mthumb
- Authentication-results: sourceware.org; auth=none
- References: <1488578796-4481-1-git-send-email-yao.qi@linaro.org>
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 (齐尧)