[PATCHv2 07/18] gdb: Fix an incorrect comment
Andrew Burgess
andrew.burgess@embecosm.com
Wed Aug 5 14:45:42 GMT 2020
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/valops.c b/gdb/valops.c
index 0c818736b76..b7dd1f2ea97 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.25.4
More information about the Gdb-patches
mailing list