From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23596 invoked by alias); 22 Oct 2004 21:39:12 -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 23589 invoked from network); 22 Oct 2004 21:39:11 -0000 Received: from unknown (HELO takamaka.act-europe.fr) (142.179.108.108) by sourceware.org with SMTP; 22 Oct 2004 21:39:11 -0000 Received: by takamaka.act-europe.fr (Postfix, from userid 507) id 4091147D9C; Fri, 22 Oct 2004 14:39:11 -0700 (PDT) Date: Fri, 22 Oct 2004 21:39:00 -0000 From: Joel Brobecker To: gdb-patches@sources.redhat.com Subject: [RFA/dwarf2] Use SYMBOL_SEARCH_NAME to set type name Message-ID: <20041022213911.GJ21300@gnat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i X-SW-Source: 2004-10/txt/msg00371.txt.bz2 Hello, Right now, new_symbol() in dwarf2read.c sometimes sets the type name using the SYMBOL_NATURAL_NAME. This is causing problems with Ada, because contrary to C++ or Java, we chose to perform our searches using the mangled name, not the demangled one. 2004-10-22 Joel Brobecker From Paul Hilfinger * dwarf2read.c (new_symbol): Use SYMBOL_SEARCH_NAME rather than SYMBOL_NATURAL_NAME to set type names. Tested on x86-linux. No regression. OK to apply? Thanks, -- Joel