|
From: oharboe at B. <oh...@ma...> - 2009-06-08 08:18:13
|
Author: oharboe Date: 2009-06-08 08:18:13 +0200 (Mon, 08 Jun 2009) New Revision: 2108 Modified: trunk/src/target/target.c Log: David Brownell <da...@pa...> Bugfix: $target_name cget/configure -work-area-backup commands should return the "is it backed up?" flag, not the work area size. Modified: trunk/src/target/target.c =================================================================== --- trunk/src/target/target.c 2009-06-08 06:16:43 UTC (rev 2107) +++ trunk/src/target/target.c 2009-06-08 06:18:13 UTC (rev 2108) @@ -3413,7 +3413,7 @@ goto no_params; } } - Jim_SetResult( interp, Jim_NewIntObj( goi->interp, target->working_area_size ) ); + Jim_SetResult(interp, Jim_NewIntObj(goi->interp, target->backup_working_area)); /* loop for more e*/ break; |