aboutsummaryrefslogtreecommitdiff
path: root/gdb/mi/mi-cmd-var.c
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 /gdb/mi/mi-cmd-var.c
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.
Diffstat (limited to 'gdb/mi/mi-cmd-var.c')
-rw-r--r--gdb/mi/mi-cmd-var.c2
1 files changed, 1 insertions, 1 deletions
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.