* dwarf2read.c (lookup_dwo_cutu): Change missing DWO complaint to

a warning.
This commit is contained in:
Doug Evans 2013-07-24 15:45:32 +00:00
parent 7fa9fcb6db
commit 6656a72dcb
2 changed files with 12 additions and 6 deletions

View file

@ -1,3 +1,8 @@
2013-07-24 Doug Evans <dje@google.com>
* dwarf2read.c (lookup_dwo_cutu): Change missing DWO complaint to
a warning.
2013-07-23 Yao Qi <yao@codesourcery.com>
* i386-tdep.c (i386_in_stack_tramp_p): Remove unused

View file

@ -9783,12 +9783,13 @@ lookup_dwo_cutu (struct dwarf2_per_cu_data *this_unit,
kind, dwo_name, hex_string (signature));
}
complaint (&symfile_complaints,
_("Could not find DWO %s %s(%s) referenced by %s at offset 0x%x"
" [in module %s]"),
kind, dwo_name, hex_string (signature),
this_unit->is_debug_types ? "TU" : "CU",
this_unit->offset.sect_off, objfile->name);
/* This is a warning and not a complaint because it can be caused by
pilot error (e.g., user accidentally deleting the DWO). */
warning (_("Could not find DWO %s %s(%s) referenced by %s at offset 0x%x"
" [in module %s]"),
kind, dwo_name, hex_string (signature),
this_unit->is_debug_types ? "TU" : "CU",
this_unit->offset.sect_off, objfile->name);
return NULL;
}