diff options
author | Doug Evans <dje@google.com> | 2014-10-30 17:05:17 -0700 |
---|---|---|
committer | Doug Evans <dje@google.com> | 2014-10-30 17:05:17 -0700 |
commit | 02be9a71009c94840f2367aa5554cbe5b71f56d1 (patch) | |
tree | 5ea6265fa492caee6ec30f97bcf84e2cfaa05414 /gdb/ChangeLog | |
parent | c21c8bde378b41f80ef61313ffbf653592e4ba28 (diff) | |
download | gdb-02be9a71009c94840f2367aa5554cbe5b71f56d1.zip gdb-02be9a71009c94840f2367aa5554cbe5b71f56d1.tar.gz gdb-02be9a71009c94840f2367aa5554cbe5b71f56d1.tar.bz2 |
Add ability to add attributes to gdb.Objfile and gdb.Progspace objects.
gdb/ChangeLog:
* NEWS: Mention ability add attributes to gdb.Objfile and
gdb.Progspace objects.
* python/py-objfile.c (objfile_object): New member dict.
(objfpy_dealloc): Py_XDECREF dict.
(objfpy_initialize): Initialize dict.
(objfile_getset): Add __dict__.
(objfile_object_type): Set tp_dictoffset member.
* python/py-progspace.c (progspace_object): New member dict.
(pspy_dealloc): Py_XDECREF dict.
(pspy_initialize): Initialize dict.
(pspace_getset): Add __dict__.
(pspace_object_type): Set tp_dictoffset member.
gdb/doc/ChangeLog:
* python.texi (Progspaces In Python): Document ability to add
random attributes to gdb.Progspace objects.
(Objfiles In Python): Document ability to add random attributes to
gdb.objfile objects.
gdb/testsuite/ChangeLog:
* gdb.python/py-objfile.exp: Add tests for setting random attributes
in objfiles.
* gdb.python/py-progspace.exp: Add tests for setting random attributes
in progspaces.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 6d4a9af..543dcb3 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,18 @@ +2014-10-30 Doug Evans <dje@google.com> + + * NEWS: Mention ability add attributes to gdb.Objfile and + gdb.Progspace objects. + * python/py-objfile.c (objfile_object): New member dict. + (objfpy_dealloc): Py_XDECREF dict. + (objfpy_initialize): Initialize dict. + (objfile_getset): Add __dict__. + (objfile_object_type): Set tp_dictoffset member. + * python/py-progspace.c (progspace_object): New member dict. + (pspy_dealloc): Py_XDECREF dict. + (pspy_initialize): Initialize dict. + (pspace_getset): Add __dict__. + (pspace_object_type): Set tp_dictoffset member. + 2014-10-30 Yao Qi <yao@codesourcery.com> * python/lib/gdb/command/prompt.py (before_prompt_hook): Don't |