Bugfix: $target_name cget/configure -work-area-backup commands
should return the "is it backed up?" flag, not the work area size.
---
 src/target/target.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Bugfix: $target_name cget/configure -work-area-backup commands
should return the "is it backed up?" flag, not the work area size.

---
 src/target/target.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
--- oocd.orig/src/target/target.c	2009-06-07 20:54:25.000000000 -0700
+++ oocd/src/target/target.c	2009-06-07 09:12:15.000000000 -0700
@@ -3413,7 +3413,7 @@ static int target_configure( Jim_GetOptI
 					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;
 
_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to