I don't know much about the hardware trace capabilities,
but I have understood that it's effectively a trace log of
what happened.

Wouldn't it be neat(even useful??) if it was possible to step
through the last N instructions?

Here is what I have in mind:

- Issue a "monitor trace 100" => we want to step through the
last 100 instructions.

- You can now issue stepi to step through each of the last
100 instructions.

A more esoteric idea would be to enable simulation to
allow single stepping into the future without actually
modifying the state of the machine. I can't remember
the last time I needed something like that, though
I wouldn't as the tool wasn't in my toolbox...
"I wonder what will happen when I execute the
next instruction"...

-- 
Ø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

Reply via email to