From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13628 invoked by alias); 23 Dec 2014 16:18:23 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 13617 invoked by uid 89); 23 Dec 2014 16:18:22 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.0 required=5.0 tests=AWL,BAYES_00,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,KAM_STOCKGEN,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=no version=3.3.2 X-HELO: mail-wg0-f46.google.com Received: from mail-wg0-f46.google.com (HELO mail-wg0-f46.google.com) (74.125.82.46) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Tue, 23 Dec 2014 16:18:11 +0000 Received: by mail-wg0-f46.google.com with SMTP id x13so9488600wgg.33 for ; Tue, 23 Dec 2014 08:18:08 -0800 (PST) MIME-Version: 1.0 X-Received: by 10.194.60.19 with SMTP id d19mr52132895wjr.48.1419351488323; Tue, 23 Dec 2014 08:18:08 -0800 (PST) Received: by 10.27.132.70 with HTTP; Tue, 23 Dec 2014 08:18:08 -0800 (PST) In-Reply-To: References: Date: Tue, 23 Dec 2014 16:18:00 -0000 Message-ID: Subject: Re: [PATCH 0/6] [PR 17684] Look up primitive types as symbols From: Doug Evans To: "gdb-patches@sourceware.org" Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes X-SW-Source: 2014-12/txt/msg00613.txt.bz2 On Thu, Dec 18, 2014 at 4:18 AM, Doug Evans wrote: > Hi. > > This is a follow-on to > https://sourceware.org/ml/gdb-patches/2014-12/msg00169.html > and implements the looking up of primitive types at the > appropriate time in the symbol lookup machinery. > Namely, after the STATIC_BLOCK of the current compunit has been searched > and before anything else. > > The main piece is allowing symbols to be "owned" by gdbarch, > just like types are. > > The patch is in six parts: > > 1) new functions symbol_arch, symbol_symtab, symbol_objfile, symbol_set_symtab > 2) lookup_symbol_nonlocal routines get langdef parameter > 3) rename initialize_symbol -> initialize_objfile_symbol > 4) new macro SYMBOL_DOMAIN_BITS > 5) basic support for looking up primitive types as symbols > 6) c++ support > > This patch requires the cp-namespace.c cleanup patchset: > https://sourceware.org/ml/gdb-patches/2014-12/msg00364.html Hi. fyi, I have committed this series.