* mi-cmd-var.c (varobj_update_one): Update call to
authorKeith Seitz <keiths@redhat.com>
Fri, 17 Aug 2001 19:01:22 +0000 (19:01 +0000)
committerKeith Seitz <keiths@redhat.com>
Fri, 17 Aug 2001 19:01:22 +0000 (19:01 +0000)
varobj_update to reflect recent api change.

gdb/mi/ChangeLog
gdb/mi/mi-cmd-var.c

index f28f340..5c73437 100644 (file)
@@ -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".
index 3ad9673..0c84064 100644 (file)
@@ -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.