diff options
author | Doug Evans <dje@google.com> | 2014-10-17 10:57:26 -0700 |
---|---|---|
committer | Doug Evans <dje@google.com> | 2014-10-17 10:57:26 -0700 |
commit | d096d8c11e4ab306d45e8dca811db2fa33e933a8 (patch) | |
tree | ca71c67d24b07bdcad5dbffd459ff1f29e6825fc /gdb/NEWS | |
parent | a80db0157c31d3f0fbb37ea40384b11041429a2f (diff) | |
download | gdb-d096d8c11e4ab306d45e8dca811db2fa33e933a8.zip gdb-d096d8c11e4ab306d45e8dca811db2fa33e933a8.tar.gz gdb-d096d8c11e4ab306d45e8dca811db2fa33e933a8.tar.bz2 |
Add gdb.Objfile.progspace attribute.
gdb/ChangeLog:
* NEWS: Mention new gdb.Objfile.progspace attribute.
* python/py-objfile.c (objfpy_get_progspace): New function.
(objfile_getset): New entry for "progspace".
gdb/doc/ChangeLog:
* python.texi (Objfiles In Python): Document new progspace attribute.
gdb/testsuite/ChangeLog:
* gdb.python/py-objfile.exp: Test progspace attribute.
Diffstat (limited to 'gdb/NEWS')
-rw-r--r-- | gdb/NEWS | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -9,6 +9,8 @@ ** You can now access frame registers from Python scripts. ** New attribute 'producer' for gdb.Symtab objects. + ** gdb.Objfile objects have a new attribute "progspace", + which is the gdb.Progspace object of the containing program space. * New Python-based convenience functions: |