Re: [Openocd-development] Error in RTOS code?

2011-05-14 Thread Øyvind Harboe
Merged. Thanks! -- Øyvind Harboe Can Zylin Consulting help on your project? US toll free 1-866-980-3434 / International +47 51 87 40 27 http://www.zylin.com/zy1000.html ARM7 ARM9 ARM11 XScale Cortex JTAG debugger and flash programmer ___

Re: [Openocd-development] Error in RTOS code?

2011-05-12 Thread Alan Bowman
To create a single commit, you do an interactive rebase and squash the two commits, and then produce a patch against master: Thanks, that (appeared) to work perfectly. New patch attached, that combines the two earlier patches from this thread. Alan

Re: [Openocd-development] Error in RTOS code?

2011-05-12 Thread Øyvind Harboe
Should I commit after a day or two cool-off? You may also wish to examine git commit --amend. It will amend the latest commit. interactive rebase is just *wonderful* w.r.t. creating a patch sequence and getting it just right before applying it to the master branch Avoids a lot of noise in

Re: [Openocd-development] Error in RTOS code?

2011-05-11 Thread Alan Bowman
I believe the attached patch fixes that, although I don't have anything using the relevant two RTOSs to test against. Having changed the direction of stack growth, I failed to correct another instance of that variable's use. I have made the change to my local copy and committed it (using the

[Openocd-development] Error in RTOS code?

2011-05-10 Thread Alan Bowman
I'm looking through the new RTOS/thread code, with a view to adding eCos/Cortex-M3 support (if time and hardware allow) and I'm a bit confused by a section in src/rtos/rtos.c. In rtos_generic_stack_read():534, address is modified by the size of the stacked register set (having been set to the