Hi, On 12/07/2012 12:51 AM, Luis Machado wrote: > On 12/07/2012 12:48 AM, Joel Brobecker wrote: >> And do you absolutely need the register to be of type (void *) >> for the test to exercise the original problem? I don't know if >> we can find any that's guaranteed to be of any type. So you might >> have to use different register names depending on the target. >> > > Yeah. I may need to do something different here. I didn't forget about > this one though. > > Luis Casting seems to be the most sensible solution to this problem. This patch addresses the problem Andreas saw by creating a variable of type (void *). This way we are guaranteed to have the type we need to reproduce the problem. I thought about replacing SP with PC, but SP is probably available for all targets. What do you think? Luis