curious check in dwarf2_gen_line_info()

David Mosberger davidm@napali.hpl.hp.com
Fri Dec 31 02:16:00 GMT 2004


>>>>> On Wed, 29 Dec 2004 14:01:31 -0500, Daniel Jacobowitz <drow@false.org> said:

  >> I'll check gdb to see if it gets any new failures on ia64 with
  >> the duplicate line info removed.

  Daniel> It almost certainly will.

Yes, it does: the problematic case occurs when a function has the
first statement in the same line as the function name.

I see that tc-xtensa.c has worked around this same issue in a local
fashion, so I created an analogous fix for tc-ia64.c.  See bugzilla
report 628 for details:

 http://sources.redhat.com/bugzilla/show_bug.cgi?id=628

If the patch looks OK, I'd appreciate it if someone could check it in.

	--david



More information about the Binutils mailing list