diff options
Diffstat (limited to 'gdb/cp-support.c')
-rw-r--r-- | gdb/cp-support.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/cp-support.c b/gdb/cp-support.c index 3db9751924e..1625d724de0 100644 --- a/gdb/cp-support.c +++ b/gdb/cp-support.c @@ -175,7 +175,7 @@ inspect_type (struct demangle_parse_info *info, TRY { - sym = lookup_symbol (name, 0, VAR_DOMAIN, 0); + sym = lookup_symbol (name, 0, VAR_DOMAIN, 0).symbol; } CATCH (except, RETURN_MASK_ALL) { @@ -457,7 +457,7 @@ replace_typedefs (struct demangle_parse_info *info, sym = NULL; TRY { - sym = lookup_symbol (local_name, 0, VAR_DOMAIN, 0); + sym = lookup_symbol (local_name, 0, VAR_DOMAIN, 0).symbol; } CATCH (except, RETURN_MASK_ALL) { @@ -1455,7 +1455,7 @@ cp_lookup_rtti_type (const char *name, struct block *block) /* Use VAR_DOMAIN here as NAME may be a typedef. PR 18141, 18417. Classes "live" in both STRUCT_DOMAIN and VAR_DOMAIN. */ - rtti_sym = lookup_symbol (name, block, VAR_DOMAIN, NULL); + rtti_sym = lookup_symbol (name, block, VAR_DOMAIN, NULL).symbol; if (rtti_sym == NULL) { |