Hi folks! I hope someone can help me here..

I am working on a debugger-plugin for Eclipse to debug MCS51 µC. I am almost there where I can finally debug and maybe visualize it within Eclipse but a quiet important part is still missing:

I need all debug information at debug-runtime. For now I wrote a simple parser that is able to parse the .cbd file to map a PCs address to a C code line but this won't be enough to find out the value of a variable e.g.

So I was wondering if there already exists a parser for .cdb and .lst files that the SDCC generates. If this is not the case, can I find a describing grammar somewhere or will I have to find my own one to do this?

Any help is appreciated!

Thank you.