aboutsummaryrefslogtreecommitdiff
path: root/gdb/doc
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2014-10-17 10:57:26 -0700
committerDoug Evans <dje@google.com>2014-10-17 10:57:26 -0700
commitd096d8c11e4ab306d45e8dca811db2fa33e933a8 (patch)
treeca71c67d24b07bdcad5dbffd459ff1f29e6825fc /gdb/doc
parenta80db0157c31d3f0fbb37ea40384b11041429a2f (diff)
downloadgdb-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/doc')
-rw-r--r--gdb/doc/ChangeLog4
-rw-r--r--gdb/doc/python.texi5
2 files changed, 9 insertions, 0 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog
index 432899b..8c00c32 100644
--- a/gdb/doc/ChangeLog
+++ b/gdb/doc/ChangeLog
@@ -1,3 +1,7 @@
+2014-10-17 Doug Evans <dje@google.com>
+
+ * python.texi (Objfiles In Python): Document new progspace attribute.
+
2014-10-17 Pedro Alves <palves@redhat.com>
* gdb.texinfo (Ada Tasks and Core Files): Delete mention of Tru64.
diff --git a/gdb/doc/python.texi b/gdb/doc/python.texi
index 81ec11b..84d6637 100644
--- a/gdb/doc/python.texi
+++ b/gdb/doc/python.texi
@@ -3392,6 +3392,11 @@ class.
The file name of the objfile as a string.
@end defvar
+@defvar Objfile.progspace
+The containing program space of the objfile as a @code{gdb.Progspace}
+object. @xref{Progspaces In Python}.
+@end defvar
+
@defvar Objfile.pretty_printers
The @code{pretty_printers} attribute is a list of functions. It is
used to look up pretty-printers. A @code{Value} is passed to each