diff options
author | Tom Tromey <tom@tromey.com> | 2016-11-08 16:18:24 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2017-01-10 19:13:51 -0700 |
commit | 6cd67beaae58c9e870b79feea3cf74ffdf7a9b33 (patch) | |
tree | af9477aa6986a3a3d62ba6d3a92db73cf74a85c6 /gdb/demangle.c | |
parent | 14b122bf1ce59f5f1b82f6e2a347f4ad89801f45 (diff) | |
download | gdb-6cd67beaae58c9e870b79feea3cf74ffdf7a9b33.zip gdb-6cd67beaae58c9e870b79feea3cf74ffdf7a9b33.tar.gz gdb-6cd67beaae58c9e870b79feea3cf74ffdf7a9b33.tar.bz2 |
Introduce gdbpy_enter_varobj and use it
This introduces gdbpy_enter_varobj, a subclass of gdbpy_enter; then
changes one function in py-varobj.c to use it. gdbpy_enter_varobj
takes a varobj as an argument, similar to varobj_ensure_python_env.
2017-01-10 Tom Tromey <tom@tromey.com>
* varobj.c (gdbpy_enter_varobj): New constructor.
* python/python-internal.h (gdbpy_enter_varobj): New class.
* python/py-varobj.c (py_varobj_get_iterator): Use
gdbpy_enter_varobj.
Diffstat (limited to 'gdb/demangle.c')
0 files changed, 0 insertions, 0 deletions