* Print complete control flow through gdb
@ 2009-04-20 8:01 Mausoom Sarkar
2009-04-20 18:03 ` Tom Tromey
0 siblings, 1 reply; 2+ messages in thread
From: Mausoom Sarkar @ 2009-04-20 8:01 UTC (permalink / raw)
To: gdb
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?
Thanks in advance
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Print complete control flow through gdb
2009-04-20 8:01 Print complete control flow through gdb Mausoom Sarkar
@ 2009-04-20 18:03 ` Tom Tromey
0 siblings, 0 replies; 2+ messages in thread
From: Tom Tromey @ 2009-04-20 18:03 UTC (permalink / raw)
To: Mausoom Sarkar; +Cc: 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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-04-20 17:40 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-04-20 8:01 Print complete control flow through gdb Mausoom Sarkar
2009-04-20 18:03 ` Tom Tromey
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox