Actions

icon Post
text/html Subscribe
text/html Unsubscribe

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[coldfire-gnu-discuss] Debugging with cache enabled


  • To: coldfire-gnu-discuss@xxxxxxxxxxxxxxxx
  • Subject: [coldfire-gnu-discuss] Debugging with cache enabled
  • From: TDannemiller@xxxxxxxxx
  • Date: Wed, 2 Apr 2008 09:22:31 -0400

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