[PATCH 0/2] [ARM] Software single step cross linux kernel helpers
Yao Qi
qiyaoltc@gmail.com
Fri Feb 12 16:02:00 GMT 2016
Yao Qi <qiyaoltc@gmail.com> writes:
> When I play with software single step in GDBserver on arm-linux, I find
> a problem that GDBserver can't single step over linux kernel helpers,
> but GDB has already fixed it. Patch #1 is to move the logic handling
> step kernel helper to arch/arm-get-next-pcs.c, so that both GDB and
> GDBserver can handle stepping over kernel helpers properly.
>
> After I finished patch #1, I add a test case about it, but the test case
> exposes the bug in the existing code stepping over kernel helper. Looks
> current code only handles the case that kernel helpers are tail-called.
> Patch #2 adds the test case and the fix. See more details there.
>
> No regression on aarch64-linux (with multi-arch debugging). Regression
> testing on arm-linux is still running.
No regression on arm-linux. Patches are pushed in.
--
Yao (齐尧)
More information about the Gdb-patches
mailing list