This is the mail archive of the gdb@sourceware.org mailing list for the GDB 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: Pythons scripting API question


On 05/30/2012 03:42 PM, Evan Driscoll wrote:
Instead, I have to use

(gdb) python print gdb.selected_frame().read_var(n)
{argc = 6742752, argv = 0x0, use_windows = -7696, interpreter_p = 0x0}


Is this just a version difference?

It appears that Symbol.value was added on 2012-02-07 to address python/12027. That bug shows the target milestone to be 7.5, so I'm guessing that although this was fixed before the 7.4.1 release, it was not back-ported to that release.


In other words, yes, it does appear to be a difference between your version of gdb (7.4.1) and mine (7.4.50, aka CVS HEAD). :-)

Keith


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