On 14/09/20 08:06, Pavel Dovgalyuk wrote: > GDB remote protocol supports reverse debugging of the targets. > It includes 'reverse step' and 'reverse continue' operations. > The first one finds the previous step of the execution, > and the second one is intended to stop at the last breakpoint that > would happen when the program is executed normally. > > Reverse debugging is possible in the replay mode, when at least > one snapshot was created at the record or replay phase. > QEMU can use these snapshots for travelling back in time with GDB.
I had queued this, it is a very nice patch series. Unfortunately, the tests failed on gitlab: https://gitlab.com/bonzini/qemu/-/jobs/745795080 Paolo