Re: [coldfire-gnu-discuss] dbg sprite configuration problems
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [coldfire-gnu-discuss] dbg sprite configuration problems



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