This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils 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]

Re: [RFA] Clean up GAS line symbols for debugging assembly source


On Fri, Nov 16, 2001 at 05:54:28PM -0800, Michael Snyder wrote:
> 
> *** dwarf2dbg.c	2001/09/27 10:00:53	1.24
> +   /* Don't emit sequences of line symbols for the same line. */
> +   if (line == loc->line && filenum == loc->filenum)
> +     return;
> + 
> +   line = loc->line;
> +   filenum = loc->filenum;

Hmm.  How does this play together with dwarf2dbg.c:877 ?

      /* Don't try to optimize away redundant entries; gdb wants two
	 entries for a function where the code starts on the same line as
	 the {, and there's no way to identify that case here.  Trust gcc
	 to optimize appropriately.  */
      if (1 /* line != e->loc.line || changed */)
	{


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