This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] [PR symtab/17591] Better fix
- From: Doug Evans <dje at google dot com>
- To: gdb-patches at sourceware dot org
- Date: Tue, 2 Dec 2014 18:36:35 -0800
- Subject: Re: [PATCH] [PR symtab/17591] Better fix
- Authentication-results: sourceware.org; auth=none
- References: <yjt2oart79hd dot fsf at ruffy dot mtv dot corp dot google dot com>
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 <dje@google.com>
>
> PR symtab/17591
> * dwarf2read.c (find_slot_in_mapped_hash): Use cp_remove_params
> to strip parameters.
Committed.