This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 0/2] [ARM] Software single step cross linux kernel helpers
- From: Yao Qi <qiyaoltc at gmail dot com>
- To: Yao Qi <qiyaoltc at gmail dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Fri, 12 Feb 2016 16:02:38 +0000
- Subject: Re: [PATCH 0/2] [ARM] Software single step cross linux kernel helpers
- Authentication-results: sourceware.org; auth=none
- References: <1455203928-7237-1-git-send-email-yao dot qi at linaro dot org>
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 (éå)