diff options
Diffstat (limited to 'gdb/c-valprint.c')
-rw-r--r-- | gdb/c-valprint.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/gdb/c-valprint.c b/gdb/c-valprint.c index 7f8154e..c4c0918 100644 --- a/gdb/c-valprint.c +++ b/gdb/c-valprint.c @@ -198,14 +198,17 @@ print_unpacked_pointer (struct type *type, struct type *elttype, struct symbol *wsym = NULL; struct type *wtype; struct block *block = NULL; - struct field_of_this_result is_this_fld; if (want_space) fputs_filtered (" ", stream); if (msymbol.minsym != NULL) - wsym = lookup_symbol (MSYMBOL_LINKAGE_NAME(msymbol.minsym), block, - VAR_DOMAIN, &is_this_fld).symbol; + { + const char *search_name + = MSYMBOL_SEARCH_NAME (msymbol.minsym); + wsym = lookup_symbol_search_name (search_name, block, + VAR_DOMAIN).symbol; + } if (wsym) { |