From 1c658ad5fac2a221b589cbe26ec84c788b24a8d1 Mon Sep 17 00:00:00 2001 From: Doug Evans Date: Tue, 26 Jun 2012 19:48:13 +0000 Subject: [PATCH] * dwarf2read.c (lookup_dwo_comp_unit): Enhance comment. (lookup_dwo_type_unit): Ditto. --- gdb/ChangeLog | 5 +++++ gdb/dwarf2read.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index d1e62544b02..2c4a8a4714a 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2012-06-26 Doug Evans + + * dwarf2read.c (lookup_dwo_comp_unit): Enhance comment. + (lookup_dwo_type_unit): Ditto. + 2012-06-26 Roland McGrath H.J. Lu diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c index aa42b4c72cc..0919a71d06d 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 *