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/ChangeLog | |
parent | 97d83487d5fbffd04d68a049f97009e1df2562a3 (diff) | |
download | gdb-59876f8f9f32081b2831aed83a03a815e8d85a97.zip gdb-59876f8f9f32081b2831aed83a03a815e8d85a97.tar.gz gdb-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/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index dea5d40..f4f5e0b 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,11 @@ 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. + +2017-01-10 Tom Tromey <tom@tromey.com> + * python/py-param.c (get_doc_string, compute_enum_values): Use gdbpy_ref. |