aboutsummaryrefslogtreecommitdiff
path: root/gdb
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
parentd7a5ed35ddd9c50581c1e380259365e7f4904e3e (diff)
downloadbinutils-d0c6ba3d4d2a2f081454f060b95af3354e3f82ba.zip
binutils-d0c6ba3d4d2a2f081454f060b95af3354e3f82ba.tar.gz
binutils-d0c6ba3d4d2a2f081454f060b95af3354e3f82ba.tar.bz2
* dwarf2read.c (dwarf_decode_lines): Recognize and ignore
DW_LNE_set_discriminator.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/dwarf2read.c5
2 files changed, 10 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index dbe9a55..537fea8 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2009-06-10 Cary Coutant <ccoutant@google.com>
+
+ * dwarf2read.c (dwarf_decode_lines): Recognize and ignore
+ DW_LNE_set_discriminator.
+
2009-06-10 Pierre Muller <muller@ics.u-strasbg.fr>
* breakpoint.c: ARI fixes.
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"));