summaryrefslogtreecommitdiff
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
commite182e6d2c9f0140a9ae79f8daea6a0d09d378fa1 (patch)
treef1c7965a19184c7a867663fc85522aa185b72346 /bfd/dwarf2.c
parentb08ffb9511b449f1ce5abe704f2a36ba27e16bb3 (diff)
downloadbinutils-redhat-e182e6d2c9f0140a9ae79f8daea6a0d09d378fa1.tar.gz
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 05b13041e0..e88a6afc0b 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);