aboutsummaryrefslogtreecommitdiff
path: root/gdb/python/py-lazy-string.c
diff options
context:
space:
mode:
authorPhil Muldoon <pmuldoon@redhat.com>2010-04-08 10:47:56 +0000
committerPhil Muldoon <pmuldoon@redhat.com>2010-04-08 10:47:56 +0000
commitf5f8b5baf4e8df45804583c7a8494b1f257cc0ed (patch)
tree5db0ece4a74df606c381ff87f390a8d6fa5e2781 /gdb/python/py-lazy-string.c
parentfff5cc649e7498fe4618557c13b1f98692c2d1f7 (diff)
downloadgdb-f5f8b5baf4e8df45804583c7a8494b1f257cc0ed.zip
gdb-f5f8b5baf4e8df45804583c7a8494b1f257cc0ed.tar.gz
gdb-f5f8b5baf4e8df45804583c7a8494b1f257cc0ed.tar.bz2
2010-04-08 Phil Muldoon <pmuldoon@redhat.com>
* python/py-lazy-string.c (stpy_convert_to_value): Add i8n to error string.
Diffstat (limited to 'gdb/python/py-lazy-string.c')
-rw-r--r--gdb/python/py-lazy-string.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/python/py-lazy-string.c b/gdb/python/py-lazy-string.c
index a2faa0e..ebe0a99 100644
--- a/gdb/python/py-lazy-string.c
+++ b/gdb/python/py-lazy-string.c
@@ -97,7 +97,7 @@ stpy_convert_to_value (PyObject *self, PyObject *args)
if (self_string->address == 0)
{
PyErr_SetString (PyExc_MemoryError,
- "Cannot create a value from NULL");
+ _("Cannot create a value from NULL"));
return NULL;
}