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 debug/20253] [3.4/4.0/4.1 regression]: Macro debug info broken due to lexer change


------- 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


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