[coldfire-gnu-discuss] dbg sprite configuration problems
Nathan Sidwell
nathan at codesourcery.com
Fri Aug 22 08:42:09 UTC 2008
Jaysen Roper wrote:
> Yes nathan, “Set $pc = Game” skips all of the stack initialization so the debugger backtrace just runs off the top of the stack and keeps going.
>
> Ive found the proper entrypoint now, its called ENTRY funnily enough :o
From the name, it seems like you're using a startup sequence we did not provide.
> (gdb) disas
> Dump of assembler code for function ENTRY:
> 0x6000c3d8 <ENTRY+0>: movew #9984,%sr
> 0x6000c3dc <ENTRY+4>: movew #9984,%sr
> 0x6000c3e0 <ENTRY+8>: moveal 0x60000000 <vectors_start>,%sp
this code looks bogus.
nathan
--
Nathan Sidwell :: http://www.codesourcery.com :: CodeSourcery
More information about the coldfire-gnu-discuss
mailing list