From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14889 invoked by alias); 20 Nov 2002 02:52:31 -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 14882 invoked from network); 20 Nov 2002 02:52:31 -0000 Received: from unknown (63.119.183.65) by sources.redhat.com with QMTP; 20 Nov 2002 02:52:31 -0000 Received: (qmail 5568 invoked from network); 20 Nov 2002 02:48:59 -0000 Received: from cpe-24-221-209-215.co.sprintbbd.net (HELO doc.com) (24.221.209.215) by external1 with SMTP; 20 Nov 2002 02:48:59 -0000 Message-ID: <3DDAF8EE.1040601@doc.com> Date: Tue, 19 Nov 2002 18:52:00 -0000 From: Adam Fedor Organization: Digital Optics Corp. User-Agent: Mozilla/5.0 (X11; U; Linux ppc; en-US; rv:1.1) Gecko/20020905 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Daniel Jacobowitz CC: gdb-patches@sources.redhat.com Subject: Re: [PATCH] Switch to demangle ObjC symbols in maint.c References: <1037738917.12618.ezmlm@sources.redhat.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2002-11/txt/msg00500.txt.bz2 > >>This is a very simple patch to allow languages other than C to be demangled. >> > > >>2002-11-19 Adam Fedor >> >> * gdb/maint.c (maintenance_demangle): Add switch to demangle >> other language's symbols. > > >Shouldn't this be in a wrapper somewhere? Aren't we going to need to >demangle ObjC symbols in a lot of places where we demangle C++ symbols? > Objective-C is much simpler than C++ and has other ways to get things like class information (for instance), so this needs to be done in only a few places (Three, to be exact. Well, really, just two, and this is the second one).