[En-Nut-Discussion] debugging with JTAG ICE -- COFF files

Mikael E.Pedersen (MEP) MEP at tt.dk
Mon Nov 25 09:48:27 CET 2002


> To get this going you'll need to modify the standard Nut/OS Makedefs.gcc
> files to include the -g switch in the CPFLAGS line.

Wopeeee. That got me started :-)
In addition to -g, I also include the -export-dynamic switch.
And together with beta5 of objtool.exe, I am now debugging happily away.
INCLUDING watching variables :-)

AvrStudio 3.55 crashes every now and then, but that might be because I am
simulating everything. Tonight I'll go home and try it with the JTAG ICE.

Best regards,
Mikael



More information about the En-Nut-Discussion mailing list