Re: Pythons scripting API question

Keith Seitz
2012-05-30T23:12:03Z

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