Add support for reading frame registers to Python API.
authorSasha Smundak <asmundak@google.com>
Wed, 3 Sep 2014 23:34:47 +0000 (16:34 -0700)
committerDoug Evans <dje@google.com>
Wed, 3 Sep 2014 23:34:47 +0000 (16:34 -0700)
commit5f3b99cfed3803f0b099152f54aac7cb90a2b926
tree3104a86b35b1492fbb64e676e822a8311344f125
parentac740bc7a9103a561329ebf7aa05ff31bcab2267
Add support for reading frame registers to Python API.

The ability to read registers is needed to use Frame Filter API to
display the frames created by JIT compilers.

gdb/ChangeLog:

2014-08-29  Sasha Smundak  <asmundak@google.com>

* python/py-frame.c (frapy_read_register): New function.

gdb/doc/ChangeLog:

2014-08-26  Sasha Smundak  <asmundak@google.com>

* python.texi (Frames in Python): Add read_register description.

gdb/testsuite/ChangeLog:

2014-08-26  Sasha Smundak  <asmundak@google.com>

* gdb.python/py-frame.exp: Test Frame.read_register.
gdb/ChangeLog
gdb/NEWS
gdb/doc/ChangeLog
gdb/doc/python.texi
gdb/python/py-frame.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.python/py-frame.exp