diff options
author | Simon Marchi <simon.marchi@efficios.com> | 2025-03-05 16:10:06 -0500 |
---|---|---|
committer | Simon Marchi <simon.marchi@polymtl.ca> | 2025-03-06 11:39:00 -0500 |
commit | e9c7a913187be220ed6a61e646ff1f6ed5f1e05a (patch) | |
tree | 98a4574a9a47dcf490e1cf97506d5ed54cd8e779 | |
parent | 085002d0dc0bd8fa826a0745e411803c1bfb7101 (diff) | |
download | binutils-e9c7a913187be220ed6a61e646ff1f6ed5f1e05a.zip binutils-e9c7a913187be220ed6a61e646ff1f6ed5f1e05a.tar.gz binutils-e9c7a913187be220ed6a61e646ff1f6ed5f1e05a.tar.bz2 |
gdb/dwarf: add empty lines in cutu_reader::read_cutu_die_from_dwo comment
I find it much more readable this way, with one idea per paragraph.
Change-Id: Ib31b410867c8444e0f3200681881f54f1b8ebea8
Approved-By: Tom Tromey <tom@tromey.com>
-rw-r--r-- | gdb/dwarf2/read.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/dwarf2/read.c b/gdb/dwarf2/read.c index 4159c9a..f5647df 100644 --- a/gdb/dwarf2/read.c +++ b/gdb/dwarf2/read.c @@ -2933,12 +2933,15 @@ cutu_reader::init_cu_die_reader (dwarf2_cu *cu, dwarf2_section_info *section, STUB_COMP_UNIT_DIE is for the stub DIE, we copy over certain attributes 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. 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 are filled in with the info of the DIE from the DWO file. + *RESULT_DWO_ABBREV_TABLE will be filled in with the abbrev table allocated from the dwo. Since *RESULT_READER references this abbrev table, it must be kept around for at least as long as *RESULT_READER. |