[coldfire-gnu-discuss] how to debug a ROM resident application ?
Christof Frey
Christof.Frey at varian.com
Tue Apr 12 14:51:37 UTC 2011
Thanks for this ultra fast support - works! :)
Christof
-----Original Message-----
From: Carlos O'Donell [mailto:carlos at codesourcery.com]
Sent: Tuesday, April 12, 2011 4:43 PM
To: Christof Frey
Cc: coldfire-gnu-discuss at codesourcery.com
Subject: Re: [coldfire-gnu-discuss] how to debug a ROM resident application ?
On 4/12/2011 10:30 AM, Christof Frey wrote:
> target remote | m68k-elf-sprite tblcf://:0/ m5235evb
> load
Don't use `load` just use `set $pc = <Entry point address>`, and ensure
that your flashed your application via another method.
> I had expected that the debugger loads the symbol table only and does
> not try to program the flash.
The debugger has already loaded the symbol table if you specified a
binary as an option to gdb or used `file <binary>`.
Cheers,
Carlos.
--
Carlos O'Donell
Mentor Graphics / CodeSourcery
carlos at codesourcery.com
+1 (650) 331-3385 x716
More information about the coldfire-gnu-discuss
mailing list