[RFA] Clean up GAS line symbols for debugging assembly source
Alan Modra
amodra@bigpond.net.au
Fri Nov 9 02:50:00 GMT 2001
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 */)
{
More information about the Binutils
mailing list