X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;ds=sidebyside;f=gdb%2Fstabsread.c;h=1b5426e28426bb6074fd849c45adf48d291b5e91;hb=c1b5c1ebc938b6dc0277363b8c47d75b0b5a621f;hp=91a73dd10db94bcbc46d36f544619ed235d0a432;hpb=747cfc8c6bb23d40b3fa987f6c3df9d3a0d7b817;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/stabsread.c b/gdb/stabsread.c index 91a73dd10d..1b5426e284 100644 --- a/gdb/stabsread.c +++ b/gdb/stabsread.c @@ -740,7 +740,7 @@ define_symbol (CORE_ADDR valu, const char *string, int desc, int type, normal: std::string new_name; - if (SYMBOL_LANGUAGE (sym) == language_cplus) + if (sym->language () == language_cplus) { char *name = (char *) alloca (p - string + 1); @@ -758,7 +758,7 @@ define_symbol (CORE_ADDR valu, const char *string, int desc, int type, SYMBOL_SET_NAMES (sym, gdb::string_view (string, p - string), true, objfile); - if (SYMBOL_LANGUAGE (sym) == language_cplus) + if (sym->language () == language_cplus) cp_scan_for_anonymous_namespaces (get_buildsym_compunit (), sym, objfile); @@ -1225,7 +1225,7 @@ define_symbol (CORE_ADDR valu, const char *string, int desc, int type, This is important to do, because of forward references: The cleanup of undefined types stored in undef_types only uses STRUCT_DOMAIN symbols to perform the replacement. */ - synonym = (SYMBOL_LANGUAGE (sym) == language_ada && p[-2] != 'T'); + synonym = (sym->language () == language_ada && p[-2] != 'T'); /* Typedef */ SYMBOL_TYPE (sym) = read_type (&p, objfile);