aboutsummaryrefslogtreecommitdiff
path: root/gdb/varobj.h
diff options
context:
space:
mode:
authorKeith Seitz <keiths@redhat.com>2001-08-17 18:56:49 +0000
committerKeith Seitz <keiths@redhat.com>2001-08-17 18:56:49 +0000
commit705da5797a85a7fc20cb8a95ace5bf8138dc2d19 (patch)
treebe43fdddc94a1befab92c9e9084e1531a9cdc0ba /gdb/varobj.h
parent2bf63d860a3936bbd6a6c547cf95fe05ea57a210 (diff)
downloadgdb-705da5797a85a7fc20cb8a95ace5bf8138dc2d19.zip
gdb-705da5797a85a7fc20cb8a95ace5bf8138dc2d19.tar.gz
gdb-705da5797a85a7fc20cb8a95ace5bf8138dc2d19.tar.bz2
* varobj.c (varobj_update): Change first parameter to
pointer to struct varobj*. This function can delete varobjs, so we need to give callers the new varobj when this happens. (value_of_root): Update "var", too, if "var_handle" changes. * varobj.h (varobj_update): Likewise.
Diffstat (limited to 'gdb/varobj.h')
-rw-r--r--gdb/varobj.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/varobj.h b/gdb/varobj.h
index 304f0fb..cd30233 100644
--- a/gdb/varobj.h
+++ b/gdb/varobj.h
@@ -95,6 +95,6 @@ extern int varobj_set_value (struct varobj *var, char *expression);
extern int varobj_list (struct varobj ***rootlist);
-extern int varobj_update (struct varobj *var, struct varobj ***changelist);
+extern int varobj_update (struct varobj **varp, struct varobj ***changelist);
#endif /* VAROBJ_H */