Print complete control flow through gdb including values of variables
问题 The idea is that given a specific input to the program, somehow I want to automatically step-in through the complete program and dump its control flow along with all the data being used like classes and their variables. Is their a straightforward way to do this? Or can this be done by some scripting over gdb or does it require modification in gdb? Ok the reason for this question is because of an idea regarding a debugging tool. What it does is this. Given two different inputs to a program,