From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26434 invoked by alias); 17 Dec 2014 06:06:36 -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 26420 invoked by uid 89); 17 Dec 2014 06:06:35 -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-f42.google.com Received: from mail-wg0-f42.google.com (HELO mail-wg0-f42.google.com) (74.125.82.42) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Wed, 17 Dec 2014 06:06:34 +0000 Received: by mail-wg0-f42.google.com with SMTP id k14so3113801wgh.29 for ; Tue, 16 Dec 2014 22:06:31 -0800 (PST) MIME-Version: 1.0 X-Received: by 10.180.218.74 with SMTP id pe10mr11139994wic.48.1418796390981; Tue, 16 Dec 2014 22:06:30 -0800 (PST) Received: by 10.27.132.70 with HTTP; Tue, 16 Dec 2014 22:06:30 -0800 (PST) In-Reply-To: References: Date: Wed, 17 Dec 2014 06:06:00 -0000 Message-ID: Subject: Re: [PATCH] Remove struct symbol_search member symtab. From: Doug Evans To: "gdb-patches@sourceware.org" Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes X-SW-Source: 2014-12/txt/msg00455.txt.bz2 On Fri, Dec 12, 2014 at 10:01 PM, Doug Evans wrote: > Hi. > > Since symbols have a backlink to their containing symtab, > there's no real need to store symtab in struct symbol_search. > [Is there?] > > Regression tested on amd64-linux. > > 2014-12-10 Doug Evans > > * symtab.h (struct symbol_search) : Delete. All uses updated. > * symtab.c (compare_search_syms): Use SYMBOL_SYMTAB accessor. > (print_symbol_info): Delete arg symtab. All callers updated. > (symtab_symbol_info): Use SYMBOL_SYMTAB accessor. Committed.