Hi All,
I've been working on my ec2drv.sf.net project and wanted to test stepping 
through a51 files but can't seem to find a way to get a .a51 file's line 
information included in the .cdb file.

My test project consists of two files, asmtest_c.c and asmtest_a51.a51.
ie one c source file and an assembly file containing one function called from 
the c file.  all the c and asm lines for asmtest_c.c are included in the cdb 
file but no mention at all of asmtest_a51 is found in the cdb file.

>From my makefile:
CFLAGS = -mmcs51 --model-small --debug --code-loc 0x0000 --iram-size 
0xFF --noinduction --nooverlay

%.rel : %.a51
       asx8051 -losg $<

%.rel : %.c
        sdcc -c $(CFLAGS) $<

asmtest.ihx: asmtest_c.rel asmtest_a51.rel
        sdcc $(CFLAGS) -o asmtest.ihx asmtest_c.rel asmtest_a51.rel


Am I missing something or is this currently not supported?

My understanding is that it should be possible to have a module in the cdb 
file that has no c lines but a group of asm lines for a linked in A51 file. 

Thanks
Ricky

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Sdcc-user mailing list
Sdcc-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-user

Reply via email to