From 1c236ddd45b182b6f4895b276183cdd8382d3e1b Mon Sep 17 00:00:00 2001 From: Andrew Burgess Date: Sat, 4 Jul 2020 09:10:27 +0100 Subject: [PATCH] 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. --- gdb/ChangeLog | 4 ++++ gdb/valops.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 4f4336f4814..741e9bffd03 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2020-09-16 Andrew Burgess + + * valops.c (value_repeat): Fix incorrect argument name in comment. + 2020-09-16 Andrew Burgess * ada-lang.c (ada_language_data): Remove c_style_arrays diff --git a/gdb/valops.c b/gdb/valops.c index 7b604da0fd5..cf4cbaba02b 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) -- 2.30.2