This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[PATCH] Update mi-cmd-var.c: varobj_update change
- To: <gdb-patches at sources dot redhat dot com>
- Subject: [PATCH] Update mi-cmd-var.c: varobj_update change
- From: Keith Seitz <keiths at cygnus dot com>
- Date: Fri, 17 Aug 2001 12:01:00 -0700 (PDT)
HI,
This is the obvious fix for the varobj_update API change that I just
made...
Keith
ChangeLog
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.
Patch
Index: mi-cmd-var.c
===================================================================
RCS file: /cvs/src/src/gdb/mi/mi-cmd-var.c,v
retrieving revision 1.9
diff -u -p -r1.9 mi-cmd-var.c
--- mi-cmd-var.c 2001/05/12 04:08:24 1.9
+++ mi-cmd-var.c 2001/08/17 18:59:33
@@ -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.