Debugging with cache enabled

TDannemiller at peco2.com TDannemiller at peco2.com
Wed Apr 2 13:22:31 UTC 2008


I'm trying G++ Lite with a Coldfire MC5485 target. When using a gdb soft 
breakpoint (break, tbreak) while processor cache is enabled, I always get 
an exception when trying to continue (or advance) after the breakpoint. 
The exception is vector 11, "Unimplemented line-f opcode". The single step 
(source line "step") also does not work when cache is enabled. 

Is this normal? I haven't seen any comments about this on this or the 
Freescale forums.

The breakpoints (and step) work fine if processor cache is disabled, but 
my program doesn't run fast enough unless cache is enabled, and so I can't 
debug this way. 

Any suggestions? I'm aware of the hardware breakpoint, but it's not as 
versatile as the soft breaks (advance, until, step, etc).

Thanks,
Tom
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sourcerytools.com/pipermail/coldfire-gnu-discuss/attachments/20080402/d5471eb9/attachment.html>


More information about the coldfire-gnu-discuss mailing list