]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
gdb/testsuite: fix argument order in example code within a comment
authorAndrew Burgess <aburgess@redhat.com>
Sun, 11 Aug 2024 14:40:54 +0000 (15:40 +0100)
committerAndrew Burgess <aburgess@redhat.com>
Tue, 10 Sep 2024 14:15:05 +0000 (15:15 +0100)
Small typo in some example code inside a comment; the arguments were
in the wrong order.

There's no functional change after this commit.

gdb/testsuite/lib/gdb.exp

index 6c4ffc1abaa8130e5a13fc30e59d1b22c34d36ac..c993f48fd347ed09f40438b66188b99d7646a6d7 100644 (file)
@@ -9290,7 +9290,7 @@ proc using_fission { } {
 #
 # Example:
 # proc myproc {foo args} {
-#   parse_list args 1 {{bar} {baz "abc"} {qux}} "-" false
+#   parse_list 1 args {{bar} {baz "abc"} {qux}} "-" false
 #    # ...
 # }
 # myproc ABC -bar -baz DEF peanut butter