* dwarf2read.c (lookup_signatured_type): Return NULL instead of 0.
authorDoug Evans <dje@google.com>
Wed, 18 Apr 2012 06:24:48 +0000 (06:24 +0000)
committerDoug Evans <dje@google.com>
Wed, 18 Apr 2012 06:24:48 +0000 (06:24 +0000)
gdb/ChangeLog
gdb/dwarf2read.c

index 93aca70a2d62f21346674b7d8bde8172547ce720..2bd50320c663fb6652406bbd089786119b30c09c 100644 (file)
@@ -1,5 +1,7 @@
 2012-04-17  Doug Evans  <dje@google.com>
 
+       * 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.
index 47c36c3334f59f22b1d0c2f26b6196e1a8be2079..52ed45894725a1d67097979fc273365dbe5cd2ec 100644 (file)
@@ -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;