readelf: Fix braino in DW_LNS_set_isa parsing.
authorRoland McGrath <roland@redhat.com>
Tue, 22 Jun 2010 20:05:23 +0000 (13:05 -0700)
committerRoland McGrath <roland@redhat.com>
Tue, 22 Jun 2010 20:05:23 +0000 (13:05 -0700)
src/ChangeLog
src/readelf.c

index e7cbffa..6b2188b 100644 (file)
@@ -1,3 +1,7 @@
+2010-06-22  Roland McGrath  <roland@redhat.com>
+
+       * readelf.c (print_debug_line_section): Fix braino in DW_LNS_set_isa.
+
 2010-06-21  Roland McGrath  <roland@redhat.com>
 
        * readelf.c (dwarf_tag_string): Handle new v4 tags.
index 08b85ab..dbc8499 100644 (file)
@@ -6029,6 +6029,7 @@ advance address by fixed value %u to %s\n"),
                  if (unlikely (standard_opcode_lengths[opcode] != 1))
                    goto invalid_unit;
 
+                 get_uleb128 (u128, linep);
                  printf (gettext (" set isa to %u\n"), u128);
                  break;
                }