aboutsummaryrefslogtreecommitdiff
path: root/gdb/valops.c
diff options
context:
space:
mode:
authorAndrew Burgess <andrew.burgess@embecosm.com>2020-07-04 09:10:27 +0100
committerAndrew Burgess <andrew.burgess@embecosm.com>2020-09-16 10:16:47 +0100
commit1c236ddd45b182b6f4895b276183cdd8382d3e1b (patch)
treebf1d59070a3e07871668f6c236d541cae8147985 /gdb/valops.c
parent67bd3fd5e4d1bf9f1730eaf6ed9fa9df89904fc2 (diff)
downloadgdb-1c236ddd45b182b6f4895b276183cdd8382d3e1b.zip
gdb-1c236ddd45b182b6f4895b276183cdd8382d3e1b.tar.gz
gdb-1c236ddd45b182b6f4895b276183cdd8382d3e1b.tar.bz2
gdb: Fix an incorrect comment
A comment uses the wrong parameter name. Fixed in this commit. gdb/ChangeLog: * valops.c (value_repeat): Fix incorrect argument name in comment.
Diffstat (limited to 'gdb/valops.c')
-rw-r--r--gdb/valops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/valops.c b/gdb/valops.c
index 7b604da..cf4cbab 100644
--- a/gdb/valops.c
+++ b/gdb/valops.c
@@ -1258,7 +1258,7 @@ value_assign (struct value *toval, struct value *fromval)
return val;
}
-/* Extend a value VAL to COUNT repetitions of its type. */
+/* Extend a value ARG1 to COUNT repetitions of its type. */
struct value *
value_repeat (struct value *arg1, int count)