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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.