gdb/
[deliverable/binutils-gdb.git] / gdb / valops.c
index 1d193939aad5236c67b1d2c1ddad5c173b066e97..c0bc2a53eedb6dfb624f3456d66327a6eab90196 100644 (file)
@@ -1003,7 +1003,7 @@ value_of_variable (struct symbol *var, struct block *b)
       frame = block_innermost_frame (b);
       if (!frame)
        {
-         if (BLOCK_FUNCTION (b)
+         if (BLOCK_FUNCTION (b) && !block_inlined_p (b)
              && SYMBOL_PRINT_NAME (BLOCK_FUNCTION (b)))
            error (_("No frame is currently executing in block %s."),
                   SYMBOL_PRINT_NAME (BLOCK_FUNCTION (b)));
This page took 0.02466 seconds and 4 git commands to generate.