This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/37196] Broken debug information on FreeBSD (dwarf)
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 21 Aug 2008 22:32:02 -0000
- Subject: [Bug c++/37196] Broken debug information on FreeBSD (dwarf)
- References: <bug-37196-15901@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from pinskia at gcc dot gnu dot org 2008-08-21 22:32 -------
The issue is here:
g++ -g -c test.s -o test.o
Don't use -g with assembly code that already has debugging info in it. Also I
think this was just fixed on the trunk of binutils lately where it checks to
make sure that if there is debugging info, don't create new debugging info
based on the assembly file.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37196