This is the mail archive of the archer@sourceware.org mailing list for the Archer project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Access inferior values from a gdb.Command/gdb.Function


>>>>> "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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]