This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug debug/20253] [3.4/4.0/4.1 regression]: Macro debug info broken due to lexer change
- From: "dberlin at dberlin dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 28 Feb 2005 21:00:34 -0000
- Subject: [Bug debug/20253] [3.4/4.0/4.1 regression]: Macro debug info broken due to lexer change
- References: <20050228195936.20253.dberlin@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From dberlin at gcc dot gnu dot org 2005-02-28 21:00 -------
Subject: Re: [3.4/4.0/4.1 regression]: Macro debug info
broken due to lexer change
On Mon, 2005-02-28 at 20:48 +0000, dpatel at apple dot com wrote:
> I extensively tested my patch using GDB tests suites on two target with
> STABS as well as DWARF.
You must have accidently used the system compiler, because gdb has a
testsuite for dwarf2 macros that fails if i compile it with your patch
turned on.
It's a very tricky to tell gdb what compiler to use for it's testsuite.
> But if, we need to have a start_source_file for
> the main source file the
> n we we also need to have end_source_file for main source file.
Yes, i should have added that.
You'll note the current scheme is to simply output an explicit end_file
for the macro info in dwarf2out_finish.
If you want to find the right place to output an end_file, and remove
that, that would be fine.
> I was just trying to balance BINCL/EINCL counts. And
> nobody noticed this until now.
True enough.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20253