[En-Nut-Discussion] Debugging into the NUT Sources ?

Michael Fischer fischermi at t-online.de
Thu Dec 15 19:26:47 CET 2005


Hello Joachim,

yes it is possible, you must change the Makedefs.avr-gcc, and
add -g3 -gdwarf-2 to the CPFLAGS:

CPFLAGS  =
$(MCFLAGS) -g3 -gdwarf-2 -Os -fno-delete-null-pointer-checks -Wall -Werror -
Wstrict-prototypes -Wa,-ahlms=$(<F:.c=.lst) $(DEFS)


Make the changes at the "root" and in the app directory.

Build your library and application again, and now it should works.
I use it here under windows.

Regards,

Michael





More information about the En-Nut-Discussion mailing list