The attached files are a small example. The only cdb format documentation I have is http://sdcc.sourceforge.net/mediawiki/index.php/CDB_File_Format. According to it, the attached test.cdb file has the following errors:
The array description symbol records have an extra 'd' char after the tag indicating the number of array elements (for exapmple, in lines 8, 9 of test.cdb).
The S:L records refer to <module>:<function>, not to <function>.</function></function></module>
The numeration of blocks is invalid. The variable "n" in line 3 of test.cdb refers to block number 15 that is not defined by L: records.
SDCC : mcs51/gbz80/z80/z180/r2k/r3ka/ds390/pic16/pic14/TININative/ds400/hc08/s08 3.3.0 #8604 (May 11 2013) (MINGW32)
Sorry, forgot the attachment