]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/printcmd.c
Use domain_search_flags in lookup_symbol et al
[thirdparty/binutils-gdb.git] / gdb / printcmd.c
index f4c79ed6d2470c92c39e5e106af50a5b79c5f56d..7f47f489a9430fdd09ec6cf7416c8ca092d5cd41 100644 (file)
@@ -1582,7 +1582,7 @@ info_address_command (const char *exp, int from_tty)
   if (exp == 0)
     error (_("Argument required."));
 
-  sym = lookup_symbol (exp, get_selected_block (&context_pc), VAR_DOMAIN,
+  sym = lookup_symbol (exp, get_selected_block (&context_pc), SEARCH_VFT,
                       &is_a_field_of_this).symbol;
   if (sym == NULL)
     {