This is the mail archive of the gdb-prs@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]

[Bug python/12027] Can't get to value from a global symbol usingPyhton API


http://sourceware.org/bugzilla/show_bug.cgi?id=12027

--- Comment #5 from Joel BorggrÃn-Franck <joel.borggren.franck at gmail dot com> 2012-02-01 09:48:34 UTC ---
(In reply to comment #4)
> what about this:
> 
> (gdb) python print gdb.parse_and_eval("foo")
> 0
> (gdb) python print gdb.parse_and_eval("foo").__class__.__name__

The problem isn't that it is impossible to get the value, the problem is that
there is no way of getting the value trough the Pyton API (proper).

IE the API is incomplete :)

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


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