2009-07-03 Cary Coutant <ccoutant@google.com>
authorDave Korn <dave.korn@artimi.com>
Fri, 3 Jul 2009 17:02:43 +0000 (17:02 +0000)
committerDave Korn <dave.korn@artimi.com>
Fri, 3 Jul 2009 17:02:43 +0000 (17:02 +0000)
* dwarf2.c (decode_line_info): Ignore DW_LNE_set_discriminator.

bfd/ChangeLog
bfd/dwarf2.c

index cbaee4ec43244970b7f6098fcad0318c14779978..018f4870c8f8db272e98fb50fc9dc4976c4eb2d9 100644 (file)
@@ -1,3 +1,7 @@
+2009-07-03  Cary Coutant  <ccoutant@google.com>
+
+       * dwarf2.c (decode_line_info): Ignore DW_LNE_set_discriminator.
+
 2009-07-03  Dave Korn  <dave.korn.cygwin@gmail.com>
 
        * coffcode.h (sec_to_styp_flags):  Partially revert (functional
index 05b13041e0a240f4c6ff722fd257d834e9ffc507..e88a6afc0b99ee8df572845ec2150617183cf60a 100644 (file)
@@ -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);