aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Seitz <keiths@redhat.com>2001-08-17 19:01:22 +0000
committerKeith Seitz <keiths@redhat.com>2001-08-17 19:01:22 +0000
commit4309c8f23f4d9d144de8c192255787dcd1a44c36 (patch)
treea4cf6432f16945c15c0bad10cf832965999e0f18
parent705da5797a85a7fc20cb8a95ace5bf8138dc2d19 (diff)
downloadgdb-4309c8f23f4d9d144de8c192255787dcd1a44c36.zip
gdb-4309c8f23f4d9d144de8c192255787dcd1a44c36.tar.gz
gdb-4309c8f23f4d9d144de8c192255787dcd1a44c36.tar.bz2
* mi-cmd-var.c (varobj_update_one): Update call to
varobj_update to reflect recent api change.
-rw-r--r--gdb/mi/ChangeLog5
-rw-r--r--gdb/mi/mi-cmd-var.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/mi/ChangeLog b/gdb/mi/ChangeLog
index f28f340..5c73437 100644
--- a/gdb/mi/ChangeLog
+++ b/gdb/mi/ChangeLog
@@ -1,3 +1,8 @@
+2001-08-17 Keith Seitz <keiths@redhat.com>
+
+ * mi-cmd-var.c (varobj_update_one): Update call to
+ varobj_update to reflect recent api change.
+
2001-07-26 Andrew Cagney <ac131313@redhat.com>
* mi-main.c: Include "gdb.h".
diff --git a/gdb/mi/mi-cmd-var.c b/gdb/mi/mi-cmd-var.c
index 3ad9673..0c84064 100644
--- a/gdb/mi/mi-cmd-var.c
+++ b/gdb/mi/mi-cmd-var.c
@@ -461,7 +461,7 @@ varobj_update_one (struct varobj *var)
struct varobj **cc;
int nc;
- nc = varobj_update (var, &changelist);
+ nc = varobj_update (&var, &changelist);
/* nc == 0 means that nothing has changed.
nc == -1 means that an error occured in updating the variable.