Replace the block_found global with explicit data-flow
[deliverable/binutils-gdb.git] / gdb / printcmd.c
index a739a892e7c88d2f31df55d7bf7b9ae00bb76bba..f51e25cbbb949e4e787e908629bc408157406257 100644 (file)
@@ -1208,7 +1208,7 @@ address_info (char *exp, int from_tty)
     error (_("Argument required."));
 
   sym = lookup_symbol (exp, get_selected_block (&context_pc), VAR_DOMAIN,
-                      &is_a_field_of_this);
+                      &is_a_field_of_this).symbol;
   if (sym == NULL)
     {
       if (is_a_field_of_this.type != NULL)
This page took 0.023872 seconds and 4 git commands to generate.