diff options
-rw-r--r-- | gdb/varobj.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/varobj.c b/gdb/varobj.c index 056cf58..e24bcd3 100644 --- a/gdb/varobj.c +++ b/gdb/varobj.c @@ -1970,7 +1970,8 @@ c_value_of_root (struct varobj **var_handle) if (pc < BLOCK_START (var->root->valid_block) || pc >= BLOCK_END (var->root->valid_block)) within_scope = 0; - select_frame (fi); + else + select_frame (fi); } } |