[PING/RFA]: Search for Objc Symbols

David Carlton carlton@math.stanford.edu
Sun May 11 18:15:00 GMT 2003


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



More information about the Gdb-patches mailing list