From: Doug Evans Date: Wed, 18 Apr 2012 06:24:48 +0000 (+0000) Subject: * dwarf2read.c (lookup_signatured_type): Return NULL instead of 0. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=dcc0705263d4af11b3bb1953d29a0ad99de7b647;p=binutils-gdb.git * dwarf2read.c (lookup_signatured_type): Return NULL instead of 0. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 93aca70a2d6..2bd50320c66 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,7 @@ 2012-04-17 Doug Evans + * dwarf2read.c (lookup_signatured_type): Return NULL instead of 0. + * dwarf2read.c: Whitespace fixes. (lookup_signatured_type): Tweak comment. (get_die_type_at_offset): Fix comment. diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c index 47c36c3334f..52ed4589472 100644 --- a/gdb/dwarf2read.c +++ b/gdb/dwarf2read.c @@ -3362,7 +3362,7 @@ lookup_signatured_type (ULONGEST sig) { complaint (&symfile_complaints, _("missing `.debug_types' section for DW_FORM_ref_sig8 die")); - return 0; + return NULL; } find_entry.signature = sig;