This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/81932] Template arguments of type unsigned generate incorrect debugging information


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81932

--- Comment #9 from Xi Ruoyao <ryxi at stu dot xidian.edu.cn> ---
(In reply to Xi Ruoyao from comment #8)

> I'll try more -gxxx options to see if we need a new flag.

This works for:

-g
-g2
-g3
-ggdb
-ggdb2
-ggdb3
-gdwarf
-gdwarf-{2,3,4}
-gdwarf -gstrict-dwarf
-g -gz

Not works for:

-g1, -ggdb1 (GCC 7.2 also doens't work, say "no symbol tv")
-gstabs{,+} (Don't support templates at all)

Not tested:

-gvmx -gcoff -gxcoff (Don't support Linux target)
-gdwarf-5 (My GDB can't read it)

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]