aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom de Vries <tdevries@suse.de>2023-06-03 22:43:57 +0200
committerTom de Vries <tdevries@suse.de>2023-06-03 22:43:57 +0200
commit2242afe89683fc5fada197595c5b78a6620032a8 (patch)
tree334396f9e340d3207b5dfb393c2250bea852010c
parent26236df340ce4f2c447604cc89e65f85d9a80329 (diff)
downloadbinutils-2242afe89683fc5fada197595c5b78a6620032a8.zip
binutils-2242afe89683fc5fada197595c5b78a6620032a8.tar.gz
binutils-2242afe89683fc5fada197595c5b78a6620032a8.tar.bz2
[gdb/python] Fix doc string of valpy_const_value
In gdb/python/py-value.c, in the value_object_methods array I noticed: ... { "const_value", valpy_const_value, METH_NOARGS, "Return a 'const' qualied version of the same value." }, ... Fix the qualied -> qualified typo. Reviewed-By: Tom Tromey <tom@tromey.com>
-rw-r--r--gdb/python/py-value.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/python/py-value.c b/gdb/python/py-value.c
index 6c62820..a3d80ad 100644
--- a/gdb/python/py-value.c
+++ b/gdb/python/py-value.c
@@ -2106,7 +2106,7 @@ reinterpret_cast operator."
{ "rvalue_reference_value", valpy_rvalue_reference_value, METH_NOARGS,
"Return a value of type TYPE_CODE_RVALUE_REF referencing this value." },
{ "const_value", valpy_const_value, METH_NOARGS,
- "Return a 'const' qualied version of the same value." },
+ "Return a 'const' qualified version of the same value." },
{ "lazy_string", (PyCFunction) valpy_lazy_string,
METH_VARARGS | METH_KEYWORDS,
"lazy_string ([encoding] [, length]) -> lazy_string\n\