From e182e6d2c9f0140a9ae79f8daea6a0d09d378fa1 Mon Sep 17 00:00:00 2001 From: Dave Korn Date: Fri, 3 Jul 2009 17:02:43 +0000 Subject: [PATCH] 2009-07-03 Cary Coutant * dwarf2.c (decode_line_info): Ignore DW_LNE_set_discriminator. --- bfd/ChangeLog | 4 ++++ bfd/dwarf2.c | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index cbaee4ec4..018f4870c 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,7 @@ +2009-07-03 Cary Coutant + + * dwarf2.c (decode_line_info): Ignore DW_LNE_set_discriminator. + 2009-07-03 Dave Korn * coffcode.h (sec_to_styp_flags): Partially revert (functional diff --git a/bfd/dwarf2.c b/bfd/dwarf2.c index 05b13041e..e88a6afc0 100644 --- a/bfd/dwarf2.c +++ b/bfd/dwarf2.c @@ -1405,6 +1405,10 @@ decode_line_info (struct comp_unit *unit, struct dwarf2_debug *stash) line_ptr += bytes_read; table->num_files++; break; + case DW_LNE_set_discriminator: + (void) read_unsigned_leb128 (abfd, line_ptr, &bytes_read); + line_ptr += bytes_read; + break; default: (*_bfd_error_handler) (_("Dwarf Error: mangled line number section.")); bfd_set_error (bfd_error_bad_value); -- 2.11.4.GIT