aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog2
-rw-r--r--gdb/dwarf2read.c4
2 files changed, 4 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 254b1ec..7467b40 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,7 @@
2013-03-29 Doug Evans <dje@google.com>
+ * dwarf2read.c (lookup_dwo_cutu): Improve complaint text.
+
* dwarf2read.c (read_cutu_die_from_dwo): New function.
(lookup_dwo_unit): New function.
(init_cutu_and_read_dies): Move DWO handling to new functions.
diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c
index e960261..10861ac 100644
--- a/gdb/dwarf2read.c
+++ b/gdb/dwarf2read.c
@@ -9335,9 +9335,9 @@ lookup_dwo_cutu (struct dwarf2_per_cu_data *this_unit,
}
complaint (&symfile_complaints,
- _("Could not find DWO CU referenced by CU at offset 0x%x"
+ _("Could not find DWO %s referenced by CU at offset 0x%x"
" [in module %s]"),
- this_unit->offset.sect_off, objfile->name);
+ kind, this_unit->offset.sect_off, objfile->name);
return NULL;
}