* dwarf2read.c (lookup_dwo_cutu): Improve complaint text.
authorDoug Evans <dje@google.com>
Fri, 29 Mar 2013 18:46:07 +0000 (18:46 +0000)
committerDoug Evans <dje@google.com>
Fri, 29 Mar 2013 18:46:07 +0000 (18:46 +0000)
gdb/ChangeLog
gdb/dwarf2read.c

index 254b1ec..7467b40 100644 (file)
@@ -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.
index e960261..10861ac 100644 (file)
@@ -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;
 }