Task: Use GDB Reverse Debugging to Examine Past Program State
Task: Use GDB Reverse Debugging to Examine Past Program State: a task in Terminal-Lego-15k (Harbor dataset). A C program transforms an array through three sequential phases. The program only prints the final array state after all phases are complete. Your task is to use GDB's reverse debugging…
The task
A C program transforms an array through three sequential phases. The program only prints the **final** array state after all phases are complete. Your task is to use **GDB's reverse debugging** feature to travel backwards in execution and determine the array's intermediate state at a checkpoint between Phase 1 and…
Part of PrimeIntellect/Terminal-Lego-15k.