From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14732 invoked by alias); 9 Dec 2003 05:12:44 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 14715 invoked from network); 9 Dec 2003 05:12:42 -0000 Received: from unknown (HELO web13810.mail.yahoo.com) (216.136.175.218) by sources.redhat.com with SMTP; 9 Dec 2003 05:12:42 -0000 Message-ID: <20031209051241.76029.qmail@web13810.mail.yahoo.com> Received: from [24.59.142.117] by web13810.mail.yahoo.com via HTTP; Mon, 08 Dec 2003 21:12:41 PST Date: Tue, 09 Dec 2003 05:12:00 -0000 From: Mark Newman Subject: Re: runtime variable view To: Ramanand Parashar Cc: gdb@sources.redhat.com In-Reply-To: <20031209034004.50519.qmail@web8203.mail.in.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2003-12/txt/msg00157.txt.bz2 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 wrote: > Hi, > Yes anytime any variable I want to see > > Regards > Ramanand > --- Mark Newman wrote: > > Ramanand - > > > > Please clarify - you want to go in anytime and > > inspect > > any variable or simply static variables? > > > > Mark Newman > > > > --- Ramanand Parashar > > 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 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 > > > > 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