On Tue, Nov 3, 2009 at 8:58 PM, David Brownell <davi...@pacbell.net> wrote: > On Tuesday 03 November 2009, loody wrote: >> 3. can we do some constant steps? >> we can use "step" to execute 1 instruction, but is there any "step >> 10", which can let up execute 10 instructions? > > Not today. The parameter to "step" is an address to resume > from, not a count. > > I've wanted such an option too though ... e.g. to go through > the end of a loop. > > Patches accepted. :)
proc fwd {n} { for {set i 0} {$i < n} {set i [expr $i+1]} { step } } -- Øyvind Harboe http://www.zylin.com/zy1000.html ARM7 ARM9 ARM11 XScale Cortex JTAG debugger and flash programmer _______________________________________________ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development