[bug 20412] PTRACE_SINGLESTEP'ing an instruction that calls user helpers never stops the child on ARM

Timo Juhani Lindfors timo.lindfors at iki.fi
Tue Nov 9 02:39:31 EST 2010


Russell King - ARM Linux <linux at arm.linux.org.uk> 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.



More information about the linux-arm mailing list