ARM946E-S attempt (gdb patches / insight)

gds gds at chartertn.net
Mon Mar 24 23:01:08 UTC 2008


Joel Sherrill wrote:
> It isn't an RTEMS issue.  With optimized code on RISC CPUs,
> the assembly from multiple source lines might be intermixed
> for performance reasons.  I know the PowerPC and SPARC are
> pretty aggressive about this and it can be VERY frustrating.
 >
> Some people compile at -O0 when things to make this phase
> of debugging easier.  But remember, your code may break
> again at -O2 especially in the case of missing volatiles.

Thanks for the input on this. Now that I know this is OK I will have a 
more specific question in a new thread.




More information about the users mailing list