Can someone tell me where the execution log will be stored when using the process recording / playback function in gdb?
Thanks Raj
Update
#include <stdio.h> int main (int argc, char const *argv[]) { printf("Hello World\n"); printf("How are you?\n"); char *c = NULL; printf("%c\n", *c); return 0; }
Code above seg errors when I search for c . I want to use this example to figure out how I can use reverse-next / reverse-continue to return after segfault. I can do the opposite of the following and achieve the first printf statement, at which I set a breakpoint when writing execution. After that, when I try to execute the "next" command in gdb, I see that the cursor moves through the printf statements, but I do not see the output printed on the terminal. So, I want to know if the recording / playback function can use the execution history even after segfault?
Raj
source share