From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30381 invoked by alias); 3 Dec 2014 02:36:47 -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 30353 invoked by uid 89); 3 Dec 2014 02:36:41 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.8 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: mail-pd0-f201.google.com Received: from mail-pd0-f201.google.com (HELO mail-pd0-f201.google.com) (209.85.192.201) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Wed, 03 Dec 2014 02:36:39 +0000 Received: by mail-pd0-f201.google.com with SMTP id ft15so1936019pdb.4 for ; Tue, 02 Dec 2014 18:36:37 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:mime-version:content-type :content-transfer-encoding:message-id:date:to:subject:in-reply-to :references; bh=Al4a6N+GobOFMpTGUvDFM0fCOv+DPJ8RsT3hzARPnI4=; b=W4DYYJbqg70y9pyONfOXRr2ZNSxSy0WnsNFESnZDhlN1AFjEf5kssEi/DRstDa8Ybx MC41pl6CRU/hXrGZwDbUQS7UqXHax1vnZUOqxrHt5ly8v7B9pgpE2xcDg1SHc+1lQSbN oxkKUsDnCoAh2yAN3LjNbJGbN0R/UxyyHXiaadFARCW0nI+MCdD2jGwvps3doEAEFu5P QMnwxwnu+gtVGSKV9B7jaudZYFgpA2N0dCSeFAHi+7VsbwV4cvvW/LwYeN8hPuE59S/+ iJ0ieKDv7svdy/ZvNK19Yibg90WPASPhtLjGfIRPb++lmOyrS8N8EB4aGtPzh7+/9gEB F1Wg== X-Gm-Message-State: ALoCoQlP7ue510Go85Hb/Ous4POT/gHiC6SJUCzw+OhOc9TouHm7P3XvHlrx6fe9NMRCGrw8q2UT3anjUeiBD3bGDfdi7S4em25LBgRfwHxiN0e62gIQ3xxnkh5oJq8DKTQ0b25BKEMun2WzXpcHaGXZn/qtIMDkKpxPZsIOQOmjUu3d2o0d/M4= X-Received: by 10.70.53.33 with SMTP id y1mr2543203pdo.3.1417574197211; Tue, 02 Dec 2014 18:36:37 -0800 (PST) Received: from corpmail-nozzle1-2.hot.corp.google.com ([100.108.1.103]) by gmr-mx.google.com with ESMTPS id r6si927110yhg.1.2014.12.02.18.36.36 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 02 Dec 2014 18:36:37 -0800 (PST) Received: from ruffy2.mtv.corp.google.com ([172.17.128.107]) by corpmail-nozzle1-2.hot.corp.google.com with ESMTP id p7gZcTPZ.1; Tue, 02 Dec 2014 18:36:37 -0800 From: Doug Evans MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <21630.30515.988396.176639@ruffy2.mtv.corp.google.com> Date: Wed, 03 Dec 2014 02:36:00 -0000 To: gdb-patches@sourceware.org Subject: Re: [PATCH] [PR symtab/17591] Better fix In-Reply-To: References: X-IsSubscribed: yes X-SW-Source: 2014-12/txt/msg00043.txt.bz2 Doug Evans writes: > Hi. > > PR 17591 is about handling stripping parameters from the name > to be looked up when the string also contains "(anonymous namespace)". > [btw, I think an audit of gdb is in order: I'm finding more of these.] > > This patch does this using the same mechanism psymtab.c does: > cp_remove_params. > > Regression tested on amd64-linux, with gdb_index. > > 2014-11-26 Doug Evans > > PR symtab/17591 > * dwarf2read.c (find_slot_in_mapped_hash): Use cp_remove_params > to strip parameters. Committed.