From: Andrew Burgess Date: Sat, 4 Jul 2020 08:10:27 +0000 (+0100) Subject: gdb: Fix an incorrect comment X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1c236ddd45b182b6f4895b276183cdd8382d3e1b;p=binutils-gdb.git 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. --- 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)