diff options
author | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-06-08 06:18:13 +0000 |
---|---|---|
committer | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-06-08 06:18:13 +0000 |
commit | e468797e4105387e4b2f2dc05f4301ec2d2cce66 (patch) | |
tree | 1145c156556daee5ab87567fd4e7c74da1095df9 | |
parent | a405fd158175e48682407eb6b8566c5182f00423 (diff) | |
download | openocd_libswd-e468797e4105387e4b2f2dc05f4301ec2d2cce66.tar.gz openocd_libswd-e468797e4105387e4b2f2dc05f4301ec2d2cce66.tar.bz2 openocd_libswd-e468797e4105387e4b2f2dc05f4301ec2d2cce66.tar.xz openocd_libswd-e468797e4105387e4b2f2dc05f4301ec2d2cce66.zip |
David Brownell <david-b@pacbell.net> Bugfix: $target_name cget/configure -work-area-backup commands
should return the "is it backed up?" flag, not the work area size.
git-svn-id: svn://svn.berlios.de/openocd/trunk@2108 b42882b7-edfa-0310-969c-e2dbd0fdcd60
-rw-r--r-- | src/target/target.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/target/target.c b/src/target/target.c index eac87633..8bc8e4c0 100644 --- a/src/target/target.c +++ b/src/target/target.c @@ -3413,7 +3413,7 @@ static int target_configure( Jim_GetOptInfo *goi, target_t *target ) 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; |