diff options
author | Pierre Muller <muller@ics.u-strasbg.fr> | 2011-03-18 16:09:54 +0000 |
---|---|---|
committer | Pierre Muller <muller@ics.u-strasbg.fr> | 2011-03-18 16:09:54 +0000 |
commit | d6b835049556290b1f4ce6306f0debe31cb82502 (patch) | |
tree | 9b1f26a0ab5b55f38fa62b57d78e725b340cd9da /gdb/python | |
parent | 428ade676257e749ebefe65a7c2198998d2e41aa (diff) | |
download | gdb-d6b835049556290b1f4ce6306f0debe31cb82502.tar.gz |
* python/py-value.c (valpy_getitem): Fix formatting of error function
call.
Diffstat (limited to 'gdb/python')
-rw-r--r-- | gdb/python/py-value.c | 2 |
1 files changed, 1 insertions, 1 deletions
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)); } |