Get the latest tech news
Advanced Time Manipulation with GDB
This article provides an explanation of a few advanced debugging techniques using GDB's reverse debugging capabilities
It is usually worth keeping an eye on the first execution of your program, because you may hit the maximum number of instructions and stop progressing. If executing the recorded section backwards is faster than waiting for the inferior to start, you can make the following changes to the commands for breakpoints 1 and 2: If you plan to use this modifier time loop version, it is important to understand where non-deterministic things may happen in your program.
Or read this on Hacker News