aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorAndrew Burgess <andrew.burgess@embecosm.com>2020-07-04 09:10:27 +0100
committerAndrew Burgess <andrew.burgess@embecosm.com>2020-09-16 10:16:47 +0100
commit1c236ddd45b182b6f4895b276183cdd8382d3e1b (patch)
treebf1d59070a3e07871668f6c236d541cae8147985 /gdb
parent67bd3fd5e4d1bf9f1730eaf6ed9fa9df89904fc2 (diff)
downloadgdb-1c236ddd45b182b6f4895b276183cdd8382d3e1b.zip
gdb-1c236ddd45b182b6f4895b276183cdd8382d3e1b.tar.gz
gdb-1c236ddd45b182b6f4895b276183cdd8382d3e1b.tar.bz2
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.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/valops.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 4f4336f..741e9bf 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,9 @@
2020-09-16 Andrew Burgess <andrew.burgess@embecosm.com>
+ * valops.c (value_repeat): Fix incorrect argument name in comment.
+
+2020-09-16 Andrew Burgess <andrew.burgess@embecosm.com>
+
* ada-lang.c (ada_language_data): Remove c_style_arrays
initializer.
(ada_language::c_style_arrays_p): New member fuction.
diff --git a/gdb/valops.c b/gdb/valops.c
index 7b604da..cf4cbab 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)