diff options
author | Doug Evans <dje@google.com> | 2013-07-24 15:45:32 +0000 |
---|---|---|
committer | Doug Evans <dje@google.com> | 2013-07-24 15:45:32 +0000 |
commit | e7a0f8a1bd81978f27d910a9900e9b77d899b822 (patch) | |
tree | 4d68254416320ee4f08f7fd3b228fbb0215df5d5 | |
parent | f2a6f5a569675c00c27c49626df5040238e59ed0 (diff) | |
download | gdb-e7a0f8a1bd81978f27d910a9900e9b77d899b822.tar.gz |
* dwarf2read.c (lookup_dwo_cutu): Change missing DWO complaint to
a warning.
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/dwarf2read.c | 13 |
2 files changed, 12 insertions, 6 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index a5739d62e0e..70621e4257f 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -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 diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c index 70ab302fb31..04993c2e5f3 100644 --- a/gdb/dwarf2read.c +++ b/gdb/dwarf2read.c @@ -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; } |