diff options
author | Tom Tromey <tom@tromey.com> | 2016-11-20 10:46:23 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2017-01-10 19:14:04 -0700 |
commit | 59876f8f9f32081b2831aed83a03a815e8d85a97 (patch) | |
tree | 2ace1d3ba738187aab171108d6f9353f16937e05 /gdb/python/py-objfile.c | |
parent | 97d83487d5fbffd04d68a049f97009e1df2562a3 (diff) | |
download | binutils-59876f8f9f32081b2831aed83a03a815e8d85a97.zip binutils-59876f8f9f32081b2831aed83a03a815e8d85a97.tar.gz binutils-59876f8f9f32081b2831aed83a03a815e8d85a97.tar.bz2 |
Use gdbpy_ref in python.c
This changes more places in python.c to use gdbpy_ref.
Additionally, previously gdbpy_apply_type_printers would return
EXT_LANG_RC_ERROR if a type printer returned None. However, that
doesn't seem correct to me; this patch changes it to return
EXT_LANG_RC_NOP in this case.
2017-01-10 Tom Tromey <tom@tromey.com>
* python/python.c (eval_python_command, gdbpy_decode_line)
(gdbpy_run_events, gdbpy_start_type_printers)
(gdbpy_apply_type_printers): Use gdbpy_ref.
Diffstat (limited to 'gdb/python/py-objfile.c')
0 files changed, 0 insertions, 0 deletions