[PATCHv2,07/18] gdb: Fix an incorrect comment

Message ID a79523ba6f0b53ccc9cefcd1686c9cc65c3a36c8.1596638296.git.andrew.burgess@embecosm.com
State New
Headers show
Series
  • Further updates for the language class structure
Related show

Commit Message

Andrew Burgess Aug. 5, 2020, 2:45 p.m.
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(-)

-- 
2.25.4

Patch

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)