PR symtab/17591
gdb/ChangeLog: PR symtab/17591 * dwarf2read.c (find_slot_in_mapped_hash): Handle "(anonymous namespace)".
This commit is contained in:
parent
60f7655a4a
commit
a8719064e8
2 changed files with 11 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2014-11-13 Doug Evans <dje@google.com>
|
||||||
|
|
||||||
|
PR symtab/17591
|
||||||
|
* dwarf2read.c (find_slot_in_mapped_hash): Handle
|
||||||
|
"(anonymous namespace)".
|
||||||
|
|
||||||
2014-11-13 Doug Evans <dje@google.com>
|
2014-11-13 Doug Evans <dje@google.com>
|
||||||
|
|
||||||
* dwarf2read.c (update_enumeration_type_from_children): Avoid
|
* dwarf2read.c (update_enumeration_type_from_children): Avoid
|
||||||
|
|
|
@ -2917,7 +2917,11 @@ find_slot_in_mapped_hash (struct mapped_index *index, const char *name,
|
||||||
{
|
{
|
||||||
/* NAME is already canonical. Drop any qualifiers as .gdb_index does
|
/* NAME is already canonical. Drop any qualifiers as .gdb_index does
|
||||||
not contain any. */
|
not contain any. */
|
||||||
const char *paren = strchr (name, '(');
|
const char *paren = NULL;
|
||||||
|
|
||||||
|
/* Need to handle "(anonymous namespace)". */
|
||||||
|
if (*name != '(')
|
||||||
|
paren = strchr (name, '(');
|
||||||
|
|
||||||
if (paren)
|
if (paren)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue