[ppc64le] Use skip_entrypoint for skip_trampoline_code
[deliverable/binutils-gdb.git] / gdb / c-exp.y
index a8a4caf1125e8260db3156024bb30496bdaebb2f..351505e4fff9982a9d5f956593e389e8472dd631 100644 (file)
@@ -1072,10 +1072,7 @@ variable:        name_not_typename
                                }
 
                              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);
                            }
This page took 0.024696 seconds and 4 git commands to generate.