[PATCH 07/10] gdb: Fix an incorrect comment

Andrew Burgess andrew.burgess@embecosm.com
Thu Jul 9 11:37:04 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 c2d0ce05f69..f6d5cc6f963 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