* Access inferior values from a gdb.Command/gdb.Function @ 2009-11-13 6:24 sam shepperd 2009-11-13 16:23 ` sam shepperd 0 siblings, 1 reply; 3+ messages in thread From: sam shepperd @ 2009-11-13 6:24 UTC (permalink / raw) To: archer Is there any way to access the values of an inferior without passing them in explicitly as arguments to a gdb.Command / gdb.Function? ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Access inferior values from a gdb.Command/gdb.Function 2009-11-13 6:24 Access inferior values from a gdb.Command/gdb.Function sam shepperd @ 2009-11-13 16:23 ` sam shepperd 2009-11-16 17:42 ` Tom Tromey 0 siblings, 1 reply; 3+ messages in thread From: sam shepperd @ 2009-11-13 16:23 UTC (permalink / raw) To: archer On Fri, Nov 13, 2009 at 12:24 AM, sam shepperd <samshepperd@gmail.com> wrote: > Is there any way to access the values of an inferior without passing > them in explicitly as arguments to a gdb.Command / gdb.Function? gdb.selected_frame().read_var() seems to work ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Access inferior values from a gdb.Command/gdb.Function 2009-11-13 16:23 ` sam shepperd @ 2009-11-16 17:42 ` Tom Tromey 0 siblings, 0 replies; 3+ messages in thread From: Tom Tromey @ 2009-11-16 17:42 UTC (permalink / raw) To: sam shepperd; +Cc: archer >>>>> "sam" == sam shepperd <samshepperd@gmail.com> writes: >> Is there any way to access the values of an inferior without passing >> them in explicitly as arguments to a gdb.Command / gdb.Function? sam> gdb.selected_frame().read_var() seems to work You can also use gdb.parse_and_eval. Tom ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-11-16 17:42 UTC | newest] Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2009-11-13 6:24 Access inferior values from a gdb.Command/gdb.Function sam shepperd 2009-11-13 16:23 ` sam shepperd 2009-11-16 17:42 ` Tom Tromey
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).