This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Print complete control flow through gdb


>>>>> "Mausoom" == Mausoom Sarkar <list.msarkar@gmail.com> writes:

Mausoom> The idea is that given a specific input to the program, somehow I want
Mausoom> to automatically step-in through the complete program and dump its
Mausoom> control flow along with all the data being used like classes and their
Mausoom> variables. Is their a straightforward way to do this? Or can this be
Mausoom> done by some scripting over gdb or does it require modification in
Mausoom> gdb?

You could try something like:

    while 1
      step
      info locals
    end

Tom


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]