diff options
Diffstat (limited to 'gdb/m2-exp.y')
-rw-r--r-- | gdb/m2-exp.y | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/gdb/m2-exp.y b/gdb/m2-exp.y index 633c354..360fdea 100644 --- a/gdb/m2-exp.y +++ b/gdb/m2-exp.y @@ -637,10 +637,7 @@ variable: NAME } write_exp_elt_opcode (pstate, OP_VAR_VALUE); - /* We want to use the selected frame, not - another more inner frame which happens to - be in the same block. */ - write_exp_elt_block (pstate, NULL); + write_exp_elt_block (pstate, sym.block); write_exp_elt_sym (pstate, sym.symbol); write_exp_elt_opcode (pstate, OP_VAR_VALUE); } |