This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

[PATCH] Update mi-cmd-var.c: varobj_update change


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]