[coldfire-gnu-discuss] how to debug a ROM resident application ?

Carlos O'Donell carlos at codesourcery.com
Tue Apr 12 14:43:26 UTC 2011


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