* 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 254b1ec7074dd0113aa3935f7ed4ad8ba7ed7f52..7467b407c8ab4f92c1ebdae12539f999233be332 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 e960261089342dfa7066405c3e805a722ed9ef09..10861acbbde88fe2a0858e4980cd3c935bedb4cc 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;
 }