From: Mark Newman <markn_46@yahoo.com>
To: Ramanand Parashar <toramanand@yahoo.co.in>
Cc: gdb@sources.redhat.com
Subject: Re: runtime variable view
Date: Tue, 09 Dec 2003 05:12:00 -0000 [thread overview]
Message-ID: <20031209051241.76029.qmail@web13810.mail.yahoo.com> (raw)
In-Reply-To: <20031209034004.50519.qmail@web8203.mail.in.yahoo.com>
Ramanand -
Variables are only available for a period of time -
i.e within the scope of the enclosing routine. There
are some data objects that are available when out of
scope but hardly any data object. Static data
objects ae normally always available. Data objects
are only alive for a short period of time - in
addition within that time they can be in different
places.
What you are asking in general is not handled by any
debugger that I am aware of. It may be theoretically
possible (if you associate a time - as a location -
among other things) but I am not aware of any debugger
that does this.
I have done this in other debuggers for static data
objects only.
I am modifying async mode to let one inspect trace
collected information and to momentarily stop async,
modify the tracepoint, and allow the UUT to proceed.
Mark Newman
--- Ramanand Parashar <toramanand@yahoo.co.in> wrote:
> Hi,
> Yes anytime any variable I want to see
>
> Regards
> Ramanand
> --- Mark Newman <markn_46@yahoo.com> wrote: >
> Ramanand -
> >
> > Please clarify - you want to go in anytime and
> > inspect
> > any variable or simply static variables?
> >
> > Mark Newman
> >
> > --- Ramanand Parashar <toramanand@yahoo.co.in>
> > wrote:
> > > Hi,
> > > While using tracepoint, have to define the
> > variables
> > > to be buffered at tracepoint enable time means I
> > > should know what variables I may need to see at
> > > runtime. But as per my requirement I don't know
> > > before
> > > running the target what specific variables I may
> > > need
> > > to see at runtime and hence need any facility to
> > see
> > > variables which I was not knowing would be
> needed
> > to
> > > see. Is anything like that available
> > > Agent(gdbserver etc) I may opt depending if gdb
> > > supports fullfill my requirement.
> > >
> > > Regards
> > > Ramanand
> > >
> > > --- Mark Newman <markn_46@yahoo.com> wrote: >
> > Look
> > > at
> > > tracepoints. With some changes I am putting
> > > > in you can do this.
> > > >
> > > > The next set of changes to do in gdb this will
> > be
> > > > available Monday. What are you using for a
> > remote
> > > > agent? Gdbserver?
> > > >
> > > > Mark Newman
> > > >
> > > > --- Ramanand Parashar <toramanand@yahoo.co.in>
> > > > wrote:
> > > > > Hi Everybody,
> > > > >
> > > > > To debug my program, running on remote
> target,
> > I
> > > > > need
> > > > > to view the program variables via
> gdb(running
> > at
> > > > > host)
> > > > > at runtime without stopping the target at
> > > > breakpoint
> > > > > etc.. Does gdb support this and if yes then
> > > which
> > > > > way.
> > > > >
> > > > > Regards
> > > > >
> > > > > Ramanand
> > > > >
> > > > >
> > > > >
> > > >
> > >
> >
>
________________________________________________________________________
> > > > > Yahoo! India Mobile: Download the latest
> > > > polyphonic
> > > > > ringtones.
> > > > > Go to http://in.mobile.yahoo.com
> > > >
> > >
> > >
> >
>
________________________________________________________________________
> > > Yahoo! India Mobile: Download the latest
> > polyphonic
> > > ringtones.
> > > Go to http://in.mobile.yahoo.com
> >
>
>
________________________________________________________________________
> Yahoo! India Mobile: Download the latest polyphonic
> ringtones.
> Go to http://in.mobile.yahoo.com
next parent reply other threads:[~2003-12-09 5:12 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20031209034004.50519.qmail@web8203.mail.in.yahoo.com>
2003-12-09 5:12 ` Mark Newman [this message]
2003-12-08 4:17 Ramanand Parashar
2003-12-08 5:24 ` Mark Newman
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=20031209051241.76029.qmail@web13810.mail.yahoo.com \
--to=markn_46@yahoo.com \
--cc=gdb@sources.redhat.com \
--cc=toramanand@yahoo.co.in \
/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