This is an automated email from Gerrit. Tomas Vanek ([email protected]) just uploaded a new patch set to Gerrit, which you can find at http://openocd.zylin.com/5035
-- gerrit commit c013f1b70f594febdc8f1579c0fc134f50de4d86 Author: Tomas Vanek <[email protected]> Date: Wed Apr 3 07:41:54 2019 +0200 target: fix copy&paste error in cget -coreid Command should return target->coreid, not target->working_area_size Change-Id: Ic9701ce2001c75060dbaa75fbd013ed475a352e5 Reported-by: Tim Newsome <[email protected]> Signed-off-by: Tomas Vanek <[email protected]> diff --git a/src/target/target.c b/src/target/target.c index 5295dd6..60d14e8 100644 --- a/src/target/target.c +++ b/src/target/target.c @@ -4831,7 +4831,7 @@ no_params: if (goi->argc != 0) goto no_params; } - Jim_SetResult(goi->interp, Jim_NewIntObj(goi->interp, target->working_area_size)); + Jim_SetResult(goi->interp, Jim_NewIntObj(goi->interp, target->coreid)); /* loop for more */ break; -- _______________________________________________ OpenOCD-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openocd-devel
