> I'm trying to debug a very simple program in GDB[...] > tcc -g -o main.exe main.c How about 'tcc -gdwarf -o main.exe main.c' for DWARF instead of STABS debug information? That worked out better for me so far. We should fix both in case of a defect as long as we don't remove stabs entirely (which I'd be in favor of). Another possibility in the mean time would be to make DWARF the default format for -g, as it seems to be the more reliable output from tcc.
signature.asc
Description: PGP signature
_______________________________________________ Tinycc-devel mailing list Tinycc-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/tinycc-devel