PR gdb/9307:
[deliverable/binutils-gdb.git] / gdb / symtab.c
index c6314c907fbd6e79c4091a57c7994aad36069f32..61f7536ab14860291595670f614d271720b6dcd5 100644 (file)
@@ -1232,7 +1232,10 @@ lookup_language_this (const struct language_defn *lang,
 
       sym = lookup_block_symbol (block, lang->la_name_of_this, VAR_DOMAIN);
       if (sym != NULL)
-       return sym;
+       {
+         block_found = block;
+         return sym;
+       }
       if (BLOCK_FUNCTION (block))
        break;
       block = BLOCK_SUPERBLOCK (block);
This page took 0.028417 seconds and 4 git commands to generate.