This introduces the options "-F/--forward" and "-R/--reverse" to `process continue`. These only work if you're running with a gdbserver backend that supports reverse execution, such as rr. For testing we rely on the fake reverse-execution functionality in `lldbreverse.py`.
13 lines
196 B
C
13 lines
196 B
C
static void start_recording() {}
|
|
|
|
static void trigger_breakpoint() {}
|
|
|
|
static void stop_recording() {}
|
|
|
|
int main() {
|
|
start_recording();
|
|
trigger_breakpoint();
|
|
stop_recording();
|
|
return 0;
|
|
}
|