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 #9 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> 2012-02-07 19:47:21 UTC ---
CVSROOT:    /cvs/src
Module name:    src
Changes by:    tromey@sourceware.org    2012-02-07 19:47:16

Modified files:
    gdb            : ChangeLog NEWS 
    gdb/doc        : ChangeLog gdb.texinfo 
    gdb/python     : py-frame.c py-symbol.c python-internal.h 
    gdb/testsuite  : ChangeLog 
    gdb/testsuite/gdb.python: py-symbol.c py-symbol.exp 

Log message:
    PR python/12027:
    * python/python-internal.h (frame_object_type): Declare.
    * python/py-symbol.c (sympy_needs_frame): New function.
    (sympy_value): New function.
    (symbol_object_getset): Add "needs_frame".
    (symbol_object_methods): Add "value".
    * python/py-frame.c (frame_object_type): No longer static.
    gdb/doc
    * gdb.texinfo (Symbols In Python): Document Symbol.needs_frame and
    Symbol.value.
    gdb/testsuite
    * gdb.python/py-symbol.exp: Test Symbol.needs_frame and
    Symbol.value.
    * gdb.python/py-symbol.c (qq): Set default value.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.13812&r2=1.13813
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/NEWS.diff?cvsroot=src&r1=1.486&r2=1.487
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/doc/ChangeLog.diff?cvsroot=src&r1=1.1271&r2=1.1272
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/doc/gdb.texinfo.diff?cvsroot=src&r1=1.918&r2=1.919
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/python/py-frame.c.diff?cvsroot=src&r1=1.25&r2=1.26
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/python/py-symbol.c.diff?cvsroot=src&r1=1.12&r2=1.13
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/python/python-internal.h.diff?cvsroot=src&r1=1.55&r2=1.56
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/ChangeLog.diff?cvsroot=src&r1=1.3061&r2=1.3062
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.python/py-symbol.c.diff?cvsroot=src&r1=1.4&r2=1.5
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.python/py-symbol.exp.diff?cvsroot=src&r1=1.12&r2=1.13

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