diff options
Diffstat (limited to 'gdb/stabsread.c')
-rw-r--r-- | gdb/stabsread.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/stabsread.c b/gdb/stabsread.c index 110f937..248f061 100644 --- a/gdb/stabsread.c +++ b/gdb/stabsread.c @@ -684,6 +684,8 @@ define_symbol (CORE_ADDR valu, char *string, int desc, int type, normal: SYMBOL_LANGUAGE (sym) = current_subfile->language; SYMBOL_SET_NAMES (sym, string, p - string, objfile); + if (SYMBOL_LANGUAGE (sym) == language_cplus) + cp_scan_for_anonymous_namespaces (sym); } p++; |