diff options
author | Tom Tromey <tom@tromey.com> | 2016-11-12 12:07:16 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2017-01-10 19:13:58 -0700 |
commit | 2bd5759dcb71adfb26b1c7cf20b3b032af29b845 (patch) | |
tree | 01e9fde867b90b44a44358526336505cf5bf1430 /binutils/rclex.c | |
parent | 3b4e0e01f8b19269d720948ee2350cb753f8ede4 (diff) | |
download | gdb-2bd5759dcb71adfb26b1c7cf20b3b032af29b845.zip gdb-2bd5759dcb71adfb26b1c7cf20b3b032af29b845.tar.gz gdb-2bd5759dcb71adfb26b1c7cf20b3b032af29b845.tar.bz2 |
Use gdbpy_ref in py-prettyprint.c
This changes some spots in py-prettyprint.c to use gdbpy_ref. It also
changes push_dummy_python_frame to be a class, rather than having it
create a cleanup.
2017-01-10 Tom Tromey <tom@tromey.com>
* python/py-prettyprint.c (print_stack_unless_memory_error)
(print_string_repr, print_children): Use gdbpy_ref.
(dummy_python_frame): New class.
(dummy_python_frame::dummy_python_frame): Rename from
push_dummy_python_frame.
(py_restore_tstate): Remove.
Diffstat (limited to 'binutils/rclex.c')
0 files changed, 0 insertions, 0 deletions