aboutsummaryrefslogtreecommitdiff
path: root/bfd/dwarf2.c
diff options
context:
space:
mode:
authorDave Korn <dave.korn@artimi.com>2009-07-03 17:02:43 +0000
committerDave Korn <dave.korn@artimi.com>2009-07-03 17:02:43 +0000
commit9e1f7c0e44209ffa81d37a965a14a06bfbd2ab5c (patch)
tree2c45547ce74c09d5775f95d89cc514dbbaed2f7f /bfd/dwarf2.c
parent4a7688702f0c2beaa927b430cdb163b4ee7d594d (diff)
downloadfsf-binutils-gdb-9e1f7c0e44209ffa81d37a965a14a06bfbd2ab5c.zip
fsf-binutils-gdb-9e1f7c0e44209ffa81d37a965a14a06bfbd2ab5c.tar.gz
fsf-binutils-gdb-9e1f7c0e44209ffa81d37a965a14a06bfbd2ab5c.tar.bz2
2009-07-03 Cary Coutant <ccoutant@google.com>
* dwarf2.c (decode_line_info): Ignore DW_LNE_set_discriminator.
Diffstat (limited to 'bfd/dwarf2.c')
-rw-r--r--bfd/dwarf2.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/bfd/dwarf2.c b/bfd/dwarf2.c
index 05b1304..e88a6af 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);