aboutsummaryrefslogtreecommitdiff
path: root/gdb/python/py-lazy-string.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/python/py-lazy-string.c')
-rw-r--r--gdb/python/py-lazy-string.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/python/py-lazy-string.c b/gdb/python/py-lazy-string.c
index ebe0a99..d28aae2 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;
}
@@ -129,7 +129,7 @@ gdbpy_create_lazy_string_object (CORE_ADDR address, long length,
if (!type)
{
PyErr_SetString (PyExc_RuntimeError,
- "A lazy string's type cannot be NULL.");
+ _("A lazy string's type cannot be NULL."));
return NULL;
}