aboutsummaryrefslogtreecommitdiff
path: root/gdb/dwarf2read.c
diff options
context:
space:
mode:
authorCary Coutant <ccoutant@google.com>2009-06-10 14:55:14 +0000
committerCary Coutant <ccoutant@google.com>2009-06-10 14:55:14 +0000
commitd0c6ba3d4d2a2f081454f060b95af3354e3f82ba (patch)
treec0df356295bf2e1365910605a734a0093d601d7c /gdb/dwarf2read.c
parentd7a5ed35ddd9c50581c1e380259365e7f4904e3e (diff)
downloadgdb-d0c6ba3d4d2a2f081454f060b95af3354e3f82ba.zip
gdb-d0c6ba3d4d2a2f081454f060b95af3354e3f82ba.tar.gz
gdb-d0c6ba3d4d2a2f081454f060b95af3354e3f82ba.tar.bz2
* dwarf2read.c (dwarf_decode_lines): Recognize and ignore
DW_LNE_set_discriminator.
Diffstat (limited to 'gdb/dwarf2read.c')
-rw-r--r--gdb/dwarf2read.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c
index 9267148..6da8f4e 100644
--- a/gdb/dwarf2read.c
+++ b/gdb/dwarf2read.c
@@ -7357,6 +7357,11 @@ dwarf_decode_lines (struct line_header *lh, char *comp_dir, bfd *abfd,
add_file_name (lh, cur_file, dir_index, mod_time, length);
}
break;
+ case DW_LNE_set_discriminator:
+ /* The discriminator is not interesting to the debugger;
+ just ignore it. */
+ line_ptr = extended_end;
+ break;
default:
complaint (&symfile_complaints,
_("mangled .debug_line section"));