aboutsummaryrefslogtreecommitdiff
path: root/gdb/python/py-record-full.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/python/py-record-full.c')
-rw-r--r--gdb/python/py-record-full.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/python/py-record-full.c b/gdb/python/py-record-full.c
index 1caec73..ecae08b 100644
--- a/gdb/python/py-record-full.c
+++ b/gdb/python/py-record-full.c
@@ -26,7 +26,7 @@
PyObject *
recpy_full_method (PyObject *self, void *closure)
{
- return PyString_FromString ("full");
+ return PyUnicode_FromString ("full");
}
/* Implementation of
@@ -35,5 +35,5 @@ recpy_full_method (PyObject *self, void *closure)
PyObject *
recpy_full_format (PyObject *self, void *closure)
{
- return PyString_FromString ("full");
+ return PyUnicode_FromString ("full");
}