Garbage collect py-utils.c:target_string_to_unicode.
authorPedro Alves <palves@redhat.com>
Wed, 6 Mar 2013 19:51:18 +0000 (19:51 +0000)
committerPedro Alves <palves@redhat.com>
Wed, 6 Mar 2013 19:51:18 +0000 (19:51 +0000)
commit634334ab5ea40ac0a17e5a020a772ed14c23fcb7
treed040a08dbb6cadb3e00fd4191a234abdd7e41392
parent3ab6909a0cb6f0f4369b88782f79e4514aaa73a2
Garbage collect py-utils.c:target_string_to_unicode.

The strlen in this function looked suspicious, for the function
documents that STR is in the target's charset (what if it is utf-32,
etc.).

On closer inspection, nothing is calling the function, and it's been
that way ever since the function was added.

gdb/
2013-03-06  Pedro Alves  <palves@redhat.com>

* python/py-utils.c (target_string_to_unicode): Delete function.
* python/python-internal.h (target_string_to_unicode): Delete
declaration.
gdb/ChangeLog
gdb/python/py-utils.c
gdb/python/python-internal.h