* varobj.c (varobj_create): Properly restore the selected frame.

This commit is contained in:
Pedro Alves 2009-06-10 23:39:45 +00:00
parent 8bb318c686
commit e21458b242
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2009-06-11 Pedro Alves <pedro@codesourcery.com>
* varobj.c (varobj_create): Properly restore the selected frame.
2009-06-05 Tom Tromey <tromey@redhat.com>
* inferior.c (print_inferior): Make a table, not a list. Emit

View File

@ -577,7 +577,7 @@ varobj_create (char *objname,
var->root->rootvar = var;
/* Reset the selected frame */
if (fi != NULL)
if (old_fi != NULL)
select_frame (old_fi);
}