PR python/12070:
authorTom Tromey <tromey@redhat.com>
Fri, 17 Feb 2012 19:24:27 +0000 (19:24 +0000)
committerTom Tromey <tromey@redhat.com>
Fri, 17 Feb 2012 19:24:27 +0000 (19:24 +0000)
commit2e8265fd8b24634b3d5c9f47fae5fa0cd157714e
treedb2d168d6872b28be60c9fe8f9994cb6c091e94b
parent8544a1503d0764c676b1825e0f4024bfb1c0197d
PR python/12070:
* python/py-event.c (event_object_getset): New global.
(event_object_type): Reference it.
* python/py-type.c (field_object_getset): New global.
(field_object_type): Reference it.
* python/python-internal.h (gdb_py_generic_dict): Declare.
* python/py-utils.c (gdb_py_generic_dict): New function.
testsuite/gdb
* gdb.python/py-events.py (exit_handler): Add test for 'dir'.
* gdb.python/py-events.exp: Check 'dir' output.
* gdb.python/py-type.exp (test_fields): Add test for 'dir'.
gdb/ChangeLog
gdb/python/py-event.c
gdb/python/py-type.c
gdb/python/py-utils.c
gdb/python/python-internal.h
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.python/py-events.exp
gdb/testsuite/gdb.python/py-events.py
gdb/testsuite/gdb.python/py-type.exp