From dcc0705263d4af11b3bb1953d29a0ad99de7b647 Mon Sep 17 00:00:00 2001 From: Doug Evans Date: Wed, 18 Apr 2012 06:24:48 +0000 Subject: [PATCH] * dwarf2read.c (lookup_signatured_type): Return NULL instead of 0. --- gdb/ChangeLog | 2 ++ gdb/dwarf2read.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 93aca70..2bd5032 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 47c36c3..52ed458 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; -- 2.7.4