From: Tom Tromey <tromey@redhat.com>
To: Mausoom Sarkar <list.msarkar@gmail.com>
Cc: gdb@sourceware.org
Subject: Re: Print complete control flow through gdb
Date: Mon, 20 Apr 2009 18:03:00 -0000 [thread overview]
Message-ID: <m3fxg3442f.fsf@fleche.redhat.com> (raw)
In-Reply-To: <6c288c860904181156h58797544yd33e28e40a0d5773@mail.gmail.com> (Mausoom Sarkar's message of "Sun\, 19 Apr 2009 00\:26\:01 +0530")
>>>>> "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
prev parent reply other threads:[~2009-04-20 17:40 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-20 8:01 Mausoom Sarkar
2009-04-20 18:03 ` Tom Tromey [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m3fxg3442f.fsf@fleche.redhat.com \
--to=tromey@redhat.com \
--cc=gdb@sourceware.org \
--cc=list.msarkar@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox