From c54a1dd8a203d6f161366a251b269a0ac9fad37a Mon Sep 17 00:00:00 2001 From: Doug Evans Date: Thu, 3 Apr 2014 12:11:58 -0700 Subject: [PATCH] (read_cutu_die_from_dwo): Update function comment to match previous change. --- gdb/dwarf2read.c | 4 ++-- 1 file 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 -- 2.7.4