Project Home
Project Home
Trackers
Trackers
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - problem with "Step Over" during debugging: (1 Item)
   
problem with "Step Over" during debugging  
I am trying to debug a file on Momentics and using the "Step Over" (F6) functionality. Unfortunately, about 10% of the 
time, when trying to step over the "out32" function, it goes into the inline "out32" function. At that point, I can't 
get out of the inline function - the execution terminates. This makes it very difficult to debug.  I have never noticed 
the problem with the "in32" function, only the "out32" function. Also, as far as I can tell, getting the inline version 
of "out32" is random - I see no pattern to this behavior.

Here is a sample of my call of out32:

    // clear CTRL Register
    out32(AES_P_CTRL, 0);

Here is the inline version of out32 that I see any time the aberrent behavior occurs:

static __inline__ void __attribute__((__unused__))
out32(_Uintptrt __addr, _Uint32t __data)
{
	*(volatile _Uint32t *)__addr = __data;
}

Any help is greatly appreciated!!