* dwarf2read.c (lookup_dwo_comp_unit): Enhance comment.
authorDoug Evans <dje@google.com>
Tue, 26 Jun 2012 19:48:13 +0000 (19:48 +0000)
committerDoug Evans <dje@google.com>
Tue, 26 Jun 2012 19:48:13 +0000 (19:48 +0000)
(lookup_dwo_type_unit): Ditto.

gdb/ChangeLog
gdb/dwarf2read.c

index d1e6254..2c4a8a4 100644 (file)
@@ -1,3 +1,8 @@
+2012-06-26  Doug Evans  <dje@google.com>
+
+       * dwarf2read.c (lookup_dwo_comp_unit): Enhance comment.
+       (lookup_dwo_type_unit): Ditto.
+
 2012-06-26  Roland McGrath  <roland@hack.frob.com>
            H.J. Lu  <hongjiu.lu@intel.com>
 
index aa42b4c..0919a71 100644 (file)
@@ -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 *