diff options
Diffstat (limited to 'gdb/varobj.c')
-rw-r--r-- | gdb/varobj.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/varobj.c b/gdb/varobj.c index c61c313..c62aecf 100644 --- a/gdb/varobj.c +++ b/gdb/varobj.c @@ -1639,7 +1639,7 @@ value_of_root (struct varobj **var_handle, int *type_changed) { tmp_var->obj_name = savestring (var->obj_name, strlen (var->obj_name)); - uninstall_variable (var); + varobj_delete (var, NULL, 0); } else { |