[coldfire-gnu-discuss] zero divide trap when running Debug Sprite Example "Fibo"
Mark Mitchell
mark at codesourcery.com
Thu Jul 3 19:06:35 UTC 2008
Christof Frey wrote:
> when running the example on page 51 of the Getting Started guide on a
> BCC5235 Coldfire board I am getting a zero divide trap.
I suspect that you're actually getting some other trap; the default trap
handlers are all mapped at the same address, so the debugger picks a
name somewhat at random.
> Is this related to the library used ? (note: the board has still the
> Freescale dBug monitor application in flash - is there an interference ?)
> Program received signal SIGTRAP, Trace/breakpoint trap.
> 0x00000d3a in __cs3_isr_divide_by_zero ()
> (gdb)
Nathan, do you have ideas about how to figure out exactly what's going
wrong here?
--
Mark Mitchell
CodeSourcery
mark at codesourcery.com
(650) 331-3385 x713
More information about the coldfire-gnu-discuss
mailing list