Re: [Openocd-development] Esoteric idea for single stepping/tracing and GDB GUI

2009-09-25 Thread Strontium
GDB also had some stuff integrated for "Reverse Debugging". It started around the April '06 time frame. I don't have any links, this is just from memory. It supposedly allowed one to step a target "backward" in time. That's kinda neat and a useful use of trace information. I know there hav

Re: [Openocd-development] Esoteric idea for single stepping/tracing and GDB GUI

2009-09-25 Thread David Brownell
On Wednesday 23 September 2009, Øyvind Harboe wrote: > I don't know much about the hardware trace capabilities, > but I have understood that it's effectively a trace log of > what happened. Various kinds of events yes, like branches, data access, CPU state transitions and so on. The exact events

[Openocd-development] Esoteric idea for single stepping/tracing and GDB GUI

2009-09-23 Thread Øyvind Harboe
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