Hi! I am looking for a possibility to debug SW compiled by SDCC when running on a Z180. The NoICE debugger seems interesting, also because it has a utility to convert sdcc's .cdb files into ".noi" files which are used by NoICE to know about symbols.
I compiled with the --debug option, which created an .adb file per .c source. Then I finally compile the app and linked it to the (previously compiled) libraries: D:\pjrc\nutapp\simple>sdcc -mz80 --debug --stack-auto -DZ80_SBC180 -I../.././nutbld/include -I../.././nut/include --code-loc 0x2000 --data-loc 0x8000 -Wl-u -Wl-ld:\pjrc\nutbld\lib\libnutarch.a -Wl-ld:\pjrc\nutbld\lib\libnutc.a -Wl-ld:\pjrc\nutbld\lib\libnutcrt.a -Wl-ld:\pjrc\nutbld\lib\libnutdev.a -Wl-ld:\pjrc\nutbld\lib\libnutnet.a -Wl-ld:\pjrc\nutbld\lib\libnutos.a -Wld:\pjrc\nutbld\lib\crtnut.o -Wld:\pjrc\nutbld\lib\nutinit.o simple.c Again, this compile and link produced an .adb file (besides lst, map, rst, o, ihx, asm, ...). But NO .cdb Section 5.1.2 of thesdcc manual says: Then the linker creates the .cdb file from the individual .adb files with the address information for the symbols. I did not see any clue in The asxxx and aslink manual. What to I need to do to instruct the linker to do so? Thanks & regards ernst ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Sdcc-user mailing list Sdcc-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sdcc-user