Re: [Openocd-development] Idea on how to add support for trace capability

2010-08-27 Thread Tomek CEDRO
Hello Øyvind! On 8/27/10, Øyvind Harboe oyvind.har...@zylin.com wrote: Presumably one of the benefits of trace would be to be able to step back/forth. Stepping back can be hard to implement in efficient way... Best regards, Tomek -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info

[Openocd-development] Idea on how to add support for trace capability

2010-08-27 Thread Øyvind Harboe
Presumably one of the benefits of trace would be to be able to step back/forth. Here is an idea on how to represent this in gdb: add a new thread to the gdb remote protocol. This thread would represent each instruction in the trace as a call frame in the GDB bt instruction. No change required to