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

Message ID dbddec2a8e0265b77fe331d9c173a4e99d1fccab.1725977770.git.aburgess@redhat.com
State New
Headers
Series [PUSHED] gdb/testsuite: fix argument order in example code within a comment |

Checks

Context Check Description
linaro-tcwg-bot/tcwg_gdb_build--master-aarch64 warning Patch is already merged
linaro-tcwg-bot/tcwg_gdb_build--master-arm warning Patch is already merged

Commit Message

Andrew Burgess Sept. 10, 2024, 2:16 p.m. UTC
  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(-)


base-commit: a80935397a191dcf87ab19a0bae5c74c87a263e9
  

Patch

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