diff options
author | Doug Evans <dje@google.com> | 2014-12-08 08:50:48 -0800 |
---|---|---|
committer | Doug Evans <dje@google.com> | 2014-12-08 08:50:48 -0800 |
commit | a0be3e44c7f510df608e4a480dd05c173ce280ce (patch) | |
tree | 639476193625c02332874a058e10ca327fad7007 /gdb/doc | |
parent | 137d04f77229e4e61098c5595a1edf70c3bc4d28 (diff) | |
download | gdb-a0be3e44c7f510df608e4a480dd05c173ce280ce.zip gdb-a0be3e44c7f510df608e4a480dd05c173ce280ce.tar.gz gdb-a0be3e44c7f510df608e4a480dd05c173ce280ce.tar.bz2 |
New "owner" attribute for gdb.Objfile.
gdb/ChangeLog:
* NEWS: Mention gdb.Objfile.owner.
* python/py-objfile.c (objfpy_get_owner): New function.
(objfile_getset): Add "owner".
gdb/doc/ChangeLog:
* python.texi (Objfiles In Python): Document Objfile.owner.
gdb/testsuite/ChangeLog:
* gdb.python/py-objfile.exp: Add tests for objfile.owner.
Diffstat (limited to 'gdb/doc')
-rw-r--r-- | gdb/doc/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/doc/python.texi | 8 |
2 files changed, 12 insertions, 0 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index 09318aa..14b2e53 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -1,3 +1,7 @@ +2014-12-08 Doug Evans <dje@google.com> + + * python.texi (Objfiles In Python): Document Objfile.owner. + 2014-12-04 Doug Evans <dje@google.com> * python.texi (Objfiles In Python): Document diff --git a/gdb/doc/python.texi b/gdb/doc/python.texi index f2e4a6e..efd258d 100644 --- a/gdb/doc/python.texi +++ b/gdb/doc/python.texi @@ -3495,6 +3495,14 @@ class. The file name of the objfile as a string. @end defvar +@defvar Objfile.owner +For separate debug info objfiles this is the corresponding @code{gdb.Objfile} +object that debug info is being provided for. +Otherwise this is @code{None}. +Separate debug info objfiles are added with the +@code{gdb.Objfile.add_separate_debug_file} method, described below. +@end defvar + @defvar Objfile.build_id The build ID of the objfile as a string. If the objfile does not have a build ID then the value is @code{None}. |