aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2014-04-01 10:17:12 -0700
committerDoug Evans <dje@google.com>2014-04-01 10:17:12 -0700
commit0d60c28836dbad4a48e1e0e8702f7fd56fca9e53 (patch)
tree81aefe2090546830da73e5e59748ca6962ea1b1d
parent23d72939765598839d20dfb70c986206bf7751ca (diff)
downloadgdb-0d60c28836dbad4a48e1e0e8702f7fd56fca9e53.zip
gdb-0d60c28836dbad4a48e1e0e8702f7fd56fca9e53.tar.gz
gdb-0d60c28836dbad4a48e1e0e8702f7fd56fca9e53.tar.bz2
* dwarf2read.c (read_cutu_die_from_dwo): Improve comment.
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/dwarf2read.c8
2 files changed, 9 insertions, 3 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index c8d4ab5..1803a0a 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2014-04-01 Doug Evans <dje@google.com>
+
+ * dwarf2read.c (read_cutu_die_from_dwo): Improve comment.
+
2014-04-01 Tristan Gingold <gingold@adacore.com>
* darwin-nat.c (darwin_encode_reply): Add prototype.
diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c
index 0c8d99f..3e77cf8 100644
--- a/gdb/dwarf2read.c
+++ b/gdb/dwarf2read.c
@@ -4982,9 +4982,11 @@ read_cutu_die_from_dwo (struct dwarf2_per_cu_data *this_cu,
/* These attributes aren't processed until later:
DW_AT_stmt_list, DW_AT_low_pc, DW_AT_high_pc, DW_AT_ranges.
- However, the attribute is found in the stub which we won't have later.
- In order to not impose this complication on the rest of the code,
- we read them here and copy them to the DWO CU/TU die. */
+ DW_AT_comp_dir is used now, to find the DWO file, but it is also
+ referenced later. However, these attributes are found in the stub
+ which we won't have later. In order to not impose this complication
+ on the rest of the code, we read them here and copy them to the
+ DWO CU/TU die. */
stmt_list = NULL;
low_pc = NULL;