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++/37196] Broken debug information on FreeBSD (dwarf)



------- Comment #3 from pinskia at gcc dot gnu dot org  2008-08-21 23:02 -------
(In reply to comment #2)
> It works if -g is omitted on the assembling step. Still, the debug information
> from the asm should not conflict with the original debug information, should
> it?

And at that point, this is not a GCC bug but rather a binutils one or a gdb
one.  binutils contains the assembler.

So I am going to close this as invalid.  GCC is doing the correct thing of
passing -g down the assembler since you asked for it.  The assembler might be
doing the incorrect thing but that is not GCC's fault.  Report it to the
binutils team (as I mentioned they just fixed it recently,
http://sourceware.org/ml/binutils/2008-08/msg00036.html).


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37196


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