From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9458 invoked by alias); 11 May 2003 18:15:04 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 9450 invoked from network); 11 May 2003 18:15:03 -0000 Received: from unknown (HELO jackfruit.Stanford.EDU) (171.64.38.136) by sources.redhat.com with SMTP; 11 May 2003 18:15:03 -0000 Received: (from carlton@localhost) by jackfruit.Stanford.EDU (8.11.6/8.11.6) id h4BIEuf04767; Sun, 11 May 2003 11:14:56 -0700 X-Authentication-Warning: jackfruit.Stanford.EDU: carlton set sender to carlton@math.stanford.edu using -f To: Adam Fedor Cc: Elena Zannoni , GDB Patches Subject: Re: [PING/RFA]: Search for Objc Symbols References: <3EA9FF5A.2040209@doc.com> <16059.57494.905714.554627@localhost.redhat.com> <3EBDC3F7.6060201@doc.com> From: David Carlton Date: Sun, 11 May 2003 18:15:00 -0000 In-Reply-To: <3EBDC3F7.6060201@doc.com> Message-ID: User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Common Lisp) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2003-05/txt/msg00177.txt.bz2 On Sat, 10 May 2003 21:31:03 -0600, Adam Fedor 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