This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Print complete control flow through gdb
- From: Tom Tromey <tromey at redhat dot com>
- To: Mausoom Sarkar <list dot msarkar at gmail dot com>
- Cc: gdb at sourceware dot org
- Date: Mon, 20 Apr 2009 11:39:52 -0600
- Subject: Re: Print complete control flow through gdb
- References: <6c288c860904181156h58797544yd33e28e40a0d5773@mail.gmail.com>
- Reply-to: tromey at redhat dot com
>>>>> "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