Use gdbpy_ref in py-utils.c
authorTom Tromey <tom@tromey.com>
Sun, 20 Nov 2016 17:52:25 +0000 (10:52 -0700)
committerTom Tromey <tom@tromey.com>
Wed, 11 Jan 2017 02:14:06 +0000 (19:14 -0700)
commit830a493402da4a055bf2d34ab300a83305391095
tree872bb0d7658b203319f01a092f6973f7f6bec87f
parent4586d54305ed275bb909f3373a7372c02d7e579e
Use gdbpy_ref in py-utils.c

This changes more places in py-utils.c to use gdbpy_ref.

2017-01-10  Tom Tromey  <tom@tromey.com>

* python/py-utils.c (unicode_to_encoded_string)
(python_string_to_target_string)
(python_string_to_target_python_string)
(python_string_to_host_string, gdbpy_obj_to_string)
(get_addr_from_python): Use gdbpy_ref.
gdb/ChangeLog
gdb/python/py-utils.c