From 6296d8c13f28f70398c2f42124eaa88670c2714b Mon Sep 17 00:00:00 2001 From: Doug Evans Date: Fri, 29 Mar 2013 18:46:07 +0000 Subject: * dwarf2read.c (lookup_dwo_cutu): Improve complaint text. --- gdb/ChangeLog | 2 ++ gdb/dwarf2read.c | 4 ++-- 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 + * 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; } -- cgit v1.1