-g1 is broken

H . J . Lu hjl@kernel.org
Wed Feb 13 17:32:00 GMT 2002


When I tried to debug libgcc_so.so, which is compiled with -g1, I
couldn't get anything debug info on Linux/x86 with DWARF2. On Linux/mips
with stabs, the function line numbers are all wrong. Recompiling
libgcc_so.so with -g fixes both DWARF2 and stabs.


H.J.



More information about the Gcc mailing list