diff options
author | Doug Evans <dje@google.com> | 2012-04-18 06:24:48 +0000 |
---|---|---|
committer | Doug Evans <dje@google.com> | 2012-04-18 06:24:48 +0000 |
commit | dcc0705263d4af11b3bb1953d29a0ad99de7b647 (patch) | |
tree | 5666e5ceebc1ee4d65b5ada23857928817bd25fc | |
parent | 380bca9753e8dbdf31754e2f135b6e7a9c81bfd2 (diff) | |
download | gdb-dcc0705263d4af11b3bb1953d29a0ad99de7b647.zip gdb-dcc0705263d4af11b3bb1953d29a0ad99de7b647.tar.gz gdb-dcc0705263d4af11b3bb1953d29a0ad99de7b647.tar.bz2 |
* dwarf2read.c (lookup_signatured_type): Return NULL instead of 0.
-rw-r--r-- | gdb/ChangeLog | 2 | ||||
-rw-r--r-- | gdb/dwarf2read.c | 2 |
2 files changed, 3 insertions, 1 deletions
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 <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. 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; |