aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2014-04-03 12:11:58 -0700
committerDoug Evans <dje@google.com>2014-04-03 12:11:58 -0700
commitc54a1dd8a203d6f161366a251b269a0ac9fad37a (patch)
tree0620f5c932e94b47ae3dfd607079de0956e1c310 /gdb
parentb0aeadb398e0cea7a7f0ff3e6fb20c9aea98453c (diff)
downloadgdb-c54a1dd8a203d6f161366a251b269a0ac9fad37a.zip
gdb-c54a1dd8a203d6f161366a251b269a0ac9fad37a.tar.gz
gdb-c54a1dd8a203d6f161366a251b269a0ac9fad37a.tar.bz2
(read_cutu_die_from_dwo): Update function comment to match previous change.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/dwarf2read.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c
index 103219c..d156504 100644
--- a/gdb/dwarf2read.c
+++ b/gdb/dwarf2read.c
@@ -4946,8 +4946,8 @@ init_cu_die_reader (struct die_reader_specs *reader,
from it to the DIE in the DWO. If NULL we are skipping the stub.
STUB_COMP_DIR is similar to STUB_COMP_UNIT_DIE: When reading a TU directly
from the DWO file, bypassing the stub, it contains the DW_AT_comp_dir
- attribute of the referencing CU. Exactly one of STUB_COMP_UNIT_DIE and
- STUB_COMP_DIR must be non-NULL.
+ attribute of the referencing CU. At most one of STUB_COMP_UNIT_DIE and
+ STUB_COMP_DIR may be non-NULL.
*RESULT_READER,*RESULT_INFO_PTR,*RESULT_COMP_UNIT_DIE,*RESULT_HAS_CHILDREN
are filled in with the info of the DIE from the DWO file.
ABBREV_TABLE_PROVIDED is non-zero if the caller of init_cutu_and_read_dies