[PUSHED] gdb/testsuite: fix argument order in example code within a comment

Andrew Burgess aburgess@redhat.com
Tue Sep 10 14:16:18 GMT 2024


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 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gdb/testsuite/lib/gdb.exp b/gdb/testsuite/lib/gdb.exp
index 6c4ffc1abaa..c993f48fd34 100644
--- a/gdb/testsuite/lib/gdb.exp
+++ b/gdb/testsuite/lib/gdb.exp
@@ -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

base-commit: a80935397a191dcf87ab19a0bae5c74c87a263e9
-- 
2.25.4



More information about the Gdb-patches mailing list