From: Doug Evans Date: Thu, 3 Apr 2014 19:11:58 +0000 (-0700) Subject: (read_cutu_die_from_dwo): Update function comment to match previous change. X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=c54a1dd8a203d6f161366a251b269a0ac9fad37a;p=deliverable%2Fbinutils-gdb.git (read_cutu_die_from_dwo): Update function comment to match previous change. --- diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c index 103219c941..d156504928 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