Re: [bug 20412] PTRACE_SINGLESTEP'ing an instruction that calls user helpers never stops the child on ARM
Timo Juhani Lindfors <[email protected]>
| Newsgroups | gmane.linux.ports.arm.general |
|---|---|
| Message-ID | <[email protected]> |
Russell King - ARM Linux <[email protected]> writes: >> + if (alt >= (void*)CONFIG_VECTORS_BASE && alt < (void*)CONFIG_VECTORS_BASE + PAGE_SIZE) > > I'm not sure why you're casing to (void *) here - alt is a u32, so it's > an integer. Apart from that, the patch looks fine. Could you fix that > and re-post to linux-arm-kernel please? Thanks for the feedback, the cast is indeed wrong. Fixed and resent to linux-arm-kernel.