In gdb, I can call one function with command “call”, but how can I step in the function? I don’t want to restart the program, but the function had been executed, gdb will execute next statement, and I don’t know how to recall the function.
Share
gdb has reverse debugging ability. You can use
reverse-stephere and then run your function once again.