aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2014-08-15 16:05:47 -0700
committerDoug Evans <dje@google.com>2014-08-15 16:05:47 -0700
commit37780ee59e60da0da88b4b973653b0e49223865e (patch)
treea5019181b3ae21847560e9d24c3600190c0db958
parentfaa743bb1b9772427351b8739bdef1f6b4a32f60 (diff)
downloadgdb-37780ee59e60da0da88b4b973653b0e49223865e.zip
gdb-37780ee59e60da0da88b4b973653b0e49223865e.tar.gz
gdb-37780ee59e60da0da88b4b973653b0e49223865e.tar.bz2
dwarf2read.c (dwarf_decode_lines_1): Add comment.
* dwarf2read.c (dwarf_decode_lines_1): Add comment.
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/dwarf2read.c2
2 files changed, 6 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 20c4b4c..632ed87 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,9 @@
2014-08-15 Doug Evans <dje@google.com>
+ * dwarf2read.c (dwarf_decode_lines_1): Add comment.
+
+2014-08-15 Doug Evans <dje@google.com>
+
* dwarf2read.c (dwarf_decode_lines_1): Delete local "column", unused.
2014-08-15 Doug Evans <dje@google.com>
diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c
index 756d65b..6bc5793 100644
--- a/gdb/dwarf2read.c
+++ b/gdb/dwarf2read.c
@@ -17298,6 +17298,8 @@ dwarf_decode_lines_1 (struct line_header *lh, const char *comp_dir,
"[in module %s]"),
line_offset, objfile_name (objfile));
p_record_line = noop_record_line;
+ /* Note: p_record_line is left as noop_record_line
+ until we see DW_LNE_end_sequence. */
}
op_index = 0;