diff options
author | Thiago Jung Bauermann <bauerman@br.ibm.com> | 2009-02-05 21:16:09 +0000 |
---|---|---|
committer | Thiago Jung Bauermann <bauerman@br.ibm.com> | 2009-02-05 21:16:09 +0000 |
commit | b6cb8e7dead0c48df80c28f95ee7543799672d11 (patch) | |
tree | d6a9f0104500adf91e8ba8f95d7e9e35444ab026 /gdb/python/python-internal.h | |
parent | 54ba13f733396d107167bf89afd43db66bebe779 (diff) | |
download | gdb-b6cb8e7dead0c48df80c28f95ee7543799672d11.zip gdb-b6cb8e7dead0c48df80c28f95ee7543799672d11.tar.gz gdb-b6cb8e7dead0c48df80c28f95ee7543799672d11.tar.bz2 |
gdb/
2009-02-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
Tom Tromey <tromey@redhat.com>
* python/python-utils.c (target_string_to_unicode): New function.
* python/python-internal.h (target_string_to_unicode): New prototype.
* python/python-value.c (valpy_string): New function.
(value_object_methods): Add `string' entry.
gdb/doc/
2009-02-05 Tom Tromey <tromey@redhat.com>
* gdb.texinfo (Values From Inferior): Document Value.string.
Diffstat (limited to 'gdb/python/python-internal.h')
-rw-r--r-- | gdb/python/python-internal.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/python/python-internal.h b/gdb/python/python-internal.h index 672d8a4..1457928 100644 --- a/gdb/python/python-internal.h +++ b/gdb/python/python-internal.h @@ -91,6 +91,7 @@ PyObject *python_string_to_unicode (PyObject *obj); char *unicode_to_target_string (PyObject *unicode_str); char *python_string_to_target_string (PyObject *obj); char *python_string_to_host_string (PyObject *obj); +PyObject *target_string_to_unicode (const gdb_byte *str, int length); int gdbpy_is_string (PyObject *obj); #endif /* GDB_PYTHON_INTERNAL_H */ |