This is an automated email from Gerrit. Matthias Blaicher ([email protected]) just uploaded a new patch set to Gerrit, which you can find at http://openocd.zylin.com/974
-- gerrit commit ff972b6e101a00865224ad9b8d8457ad55bd504c Author: Matthias Blaicher <[email protected]> Date: Sat Nov 10 12:10:15 2012 +0100 rtos: Fix error in reading the current thread in ChibiOS/RT Commit 6769214e3146b7 introduces a copy&paste error which affects the detection of the current thread. As a result, the stack of the current thread won't be detected correctly in most cases. Change-Id: Ib46b8f64be8053d7e9103f427c66796963214419 Signed-off-by: Matthias Blaicher <[email protected]> diff --git a/src/rtos/ChibiOS.c b/src/rtos/ChibiOS.c index 7d1f5cf..86e643d 100644 --- a/src/rtos/ChibiOS.c +++ b/src/rtos/ChibiOS.c @@ -463,7 +463,7 @@ static int ChibiOS_update_threads(struct rtos *rtos) uint32_t current_thrd; /* NOTE: By design, cf_off_name equals readylist_current_offset */ retval = target_read_u32(rtos->target, - current + signature->cf_off_name, + rlist + signature->cf_off_name, ¤t_thrd); if (retval != ERROR_OK) { LOG_ERROR("Could not read current Thread from ChibiOS target"); -- ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_nov _______________________________________________ OpenOCD-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openocd-devel
