Actions

icon Post
text/html Subscribe
text/html Unsubscribe

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

Re: [coldfire-gnu-discuss] zero divide trap when running Debug Sprite Example "Fibo"


  • To: Christof Frey <Christof.Frey@xxxxxxxxxx>, Nathan Sidwell <nathan@xxxxxxxxxxxxxxxx>
  • Subject: Re: [coldfire-gnu-discuss] zero divide trap when running Debug Sprite Example "Fibo"
  • From: Mark Mitchell <mark@xxxxxxxxxxxxxxxx>
  • Date: Thu, 03 Jul 2008 12:06:35 -0700

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@xxxxxxxxxxxxxxxx
(650) 331-3385 x713