This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [PING/RFA]: Search for Objc Symbols
- From: David Carlton <carlton at math dot stanford dot edu>
- To: Adam Fedor <fedor at doc dot com>
- Cc: Elena Zannoni <ezannoni at redhat dot com>, GDB Patches <gdb-patches at sources dot redhat dot com>
- Date: 11 May 2003 11:14:56 -0700
- Subject: Re: [PING/RFA]: Search for Objc Symbols
- References: <3EA9FF5A.2040209@doc.com><16059.57494.905714.554627@localhost.redhat.com><3EBDC3F7.6060201@doc.com>
On Sat, 10 May 2003 21:31:03 -0600, Adam Fedor <fedor@doc.com> said:
> + method = SYMBOL_DEMANGLED_NAME (msymbol);
> + if (method == NULL)
> + method = SYMBOL_LINKAGE_NAME (msymbol);
> + if (method == NULL)
> + return;
These should, I think, be replaced by
method = SYMBOL_NATURAL_NAME (msymbol);
Without a test for NULL at the end: the resulting name should never be
NULL.
David Carlton
carlton@math.stanford.edu