From: Cary Coutant Date: Wed, 10 Jun 2009 14:55:14 +0000 (+0000) Subject: * dwarf2read.c (dwarf_decode_lines): Recognize and ignore X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d0c6ba3d4d2a2f081454f060b95af3354e3f82ba;p=binutils-gdb.git * dwarf2read.c (dwarf_decode_lines): Recognize and ignore DW_LNE_set_discriminator. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index dbe9a55b578..537fea8bdc6 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2009-06-10 Cary Coutant + + * dwarf2read.c (dwarf_decode_lines): Recognize and ignore + DW_LNE_set_discriminator. + 2009-06-10 Pierre Muller * breakpoint.c: ARI fixes. diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c index 9267148ff7a..6da8f4ed9ef 100644 --- a/gdb/dwarf2read.c +++ b/gdb/dwarf2read.c @@ -7357,6 +7357,11 @@ dwarf_decode_lines (struct line_header *lh, char *comp_dir, bfd *abfd, add_file_name (lh, cur_file, dir_index, mod_time, length); } break; + case DW_LNE_set_discriminator: + /* The discriminator is not interesting to the debugger; + just ignore it. */ + line_ptr = extended_end; + break; default: complaint (&symfile_complaints, _("mangled .debug_line section"));