diff options
author | Doug Evans <dje@google.com> | 2013-03-29 16:38:52 +0000 |
---|---|---|
committer | Doug Evans <dje@google.com> | 2013-03-29 16:38:52 +0000 |
commit | 5a8b3f62bebca3c00e0c43b8ce201438600b213e (patch) | |
tree | 97385fc0afe218ed50e8f6f7c28c7b3c54b24fdd /gdb | |
parent | 9852c492bd1c33290056351227ed7f314ff045c3 (diff) | |
download | gdb-5a8b3f62bebca3c00e0c43b8ce201438600b213e.zip gdb-5a8b3f62bebca3c00e0c43b8ce201438600b213e.tar.gz gdb-5a8b3f62bebca3c00e0c43b8ce201438600b213e.tar.bz2 |
* dwarf2read.c (lookup_signatured_type): Remove complaint about
missing .debug_types section.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/dwarf2read.c | 10 |
2 files changed, 8 insertions, 7 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 58251ed..16236b3 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2013-03-29 Doug Evans <dje@google.com> + + * dwarf2read.c (lookup_signatured_type): Remove complaint about + missing .debug_types section. + 2013-03-29 Yao Qi <yao@codesourcery.com> * corelow.c: Include "completer.h". diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c index 70c5093..ae5c2ad 100644 --- a/gdb/dwarf2read.c +++ b/gdb/dwarf2read.c @@ -4398,7 +4398,8 @@ create_all_type_units (struct objfile *objfile) } /* Lookup a signature based type for DW_FORM_ref_sig8. - Returns NULL if signature SIG is not present in the table. */ + Returns NULL if signature SIG is not present in the table. + It is up to the caller to complain about this. */ static struct signatured_type * lookup_signatured_type (ULONGEST sig) @@ -4406,12 +4407,7 @@ lookup_signatured_type (ULONGEST sig) struct signatured_type find_entry, *entry; if (dwarf2_per_objfile->signatured_types == NULL) - { - complaint (&symfile_complaints, - _("missing `.debug_types' section for DW_FORM_ref_sig8 die")); - return NULL; - } - + return NULL; find_entry.signature = sig; entry = htab_find (dwarf2_per_objfile->signatured_types, &find_entry); return entry; |