Hi, On Sat, 19 Dec 2015, Jeremy Kvurr wrote:
Hello. I know about the existance of the -g option in the tcc, but I don't know how to enable a source-level debugging using this debug info. I tried to run the tcc-generated program with winedbg, but he hasn't recognised the symbols it seems. And I want to know where this debugging info is placed in the exe, and what format does it use.
It uses the stabs debugging format. But only a very restricted subset, namely only line information (i.e. filenames, include hierarchy, function names, source line numbers). The info is in the .stab and .stabstr sections. gdb is able to interpret this debug format, I don't know other windows debuggers.
Ciao, Michael. _______________________________________________ Tinycc-devel mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/tinycc-devel
