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/2] [ARM] Software single step cross linux kernel helpers


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 (éå)


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