diff --git a/gdb/ChangeLog b/gdb/ChangeLog index b9854e7f782..4e4da653d58 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2011-03-18 Pierre Muller + + * python/py-value.c (valpy_getitem): Fix formatting of error function + call. + 2011-03-18 Pierre Muller ARI fixes: Add missing internationalization markups throughout diff --git a/gdb/python/py-value.c b/gdb/python/py-value.c index 515eaeca7bd..4381d52039b 100644 --- a/gdb/python/py-value.c +++ b/gdb/python/py-value.c @@ -479,7 +479,7 @@ valpy_getitem (PyObject *self, PyObject *key) type = check_typedef (value_type (tmp)); if (TYPE_CODE (type) != TYPE_CODE_ARRAY && TYPE_CODE (type) != TYPE_CODE_PTR) - error( _("Cannot subscript requested type.")); + error (_("Cannot subscript requested type.")); else res_val = value_subscript (tmp, value_as_long (idx)); }