From 4309c8f23f4d9d144de8c192255787dcd1a44c36 Mon Sep 17 00:00:00 2001 From: Keith Seitz Date: Fri, 17 Aug 2001 19:01:22 +0000 Subject: [PATCH] * mi-cmd-var.c (varobj_update_one): Update call to varobj_update to reflect recent api change. --- gdb/mi/ChangeLog | 5 +++++ gdb/mi/mi-cmd-var.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gdb/mi/ChangeLog b/gdb/mi/ChangeLog index f28f340a51b..5c734374351 100644 --- a/gdb/mi/ChangeLog +++ b/gdb/mi/ChangeLog @@ -1,3 +1,8 @@ +2001-08-17 Keith Seitz + + * mi-cmd-var.c (varobj_update_one): Update call to + varobj_update to reflect recent api change. + 2001-07-26 Andrew Cagney * mi-main.c: Include "gdb.h". diff --git a/gdb/mi/mi-cmd-var.c b/gdb/mi/mi-cmd-var.c index 3ad96731e65..0c840648bf7 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. -- 2.30.2