diff options
author | Doug Evans <dje@google.com> | 2012-06-26 19:48:13 +0000 |
---|---|---|
committer | Doug Evans <dje@google.com> | 2012-06-26 19:48:13 +0000 |
commit | 1c658ad5fac2a221b589cbe26ec84c788b24a8d1 (patch) | |
tree | 3b028c0105cdeedcbe5de4d7d6fc85ffcf03ecfe /gdb/dwarf2read.c | |
parent | 14fcc022f2df20273ad517caea2234fd830b9d26 (diff) | |
download | gdb-1c658ad5fac2a221b589cbe26ec84c788b24a8d1.zip gdb-1c658ad5fac2a221b589cbe26ec84c788b24a8d1.tar.gz gdb-1c658ad5fac2a221b589cbe26ec84c788b24a8d1.tar.bz2 |
* dwarf2read.c (lookup_dwo_comp_unit): Enhance comment.
(lookup_dwo_type_unit): Ditto.
Diffstat (limited to 'gdb/dwarf2read.c')
-rw-r--r-- | gdb/dwarf2read.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c index aa42b4c..0919a71 100644 --- a/gdb/dwarf2read.c +++ b/gdb/dwarf2read.c @@ -7216,7 +7216,7 @@ lookup_dwo_file (char *dwo_name, const char *comp_dir) If non-NULL, comp_dir is the DW_AT_comp_dir attribute. SIGNATURE is the "dwo_id" of the CU (for consistency we use the same nomenclature as TUs). - The result is the DWO CU or NULL if we didn't find it + The result is a pointer to the dwo_unit object or NULL if we didn't find it (dwo_id mismatch or couldn't find the DWO file). */ static struct dwo_unit * @@ -7255,7 +7255,7 @@ lookup_dwo_comp_unit (struct dwarf2_per_cu_data *this_cu, /* Lookup the DWO TU referenced from THIS_TU in DWO file DWO_NAME. If non-NULL, comp_dir is the DW_AT_comp_dir attribute. - The result is the DWO CU or NULL if we didn't find it + The result is a pointer to the dwo_unit object or NULL if we didn't find it (dwo_id mismatch or couldn't find the DWO file). */ static struct dwo_unit * |