mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-12-20 19:20:20 +00:00
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
@ -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>
|
||||
|
||||
* 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
|
||||
not contain any. */
|
||||
const char *paren = strchr (name, '(');
|
||||
const char *paren = NULL;
|
||||
|
||||
/* Need to handle "(anonymous namespace)". */
|
||||
if (*name != '(')
|
||||
paren = strchr (name, '(');
|
||||
|
||||
if (paren)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user