diff options
author | Tom de Vries <tdevries@suse.de> | 2024-12-03 23:03:03 +0100 |
---|---|---|
committer | Tom de Vries <tdevries@suse.de> | 2024-12-03 23:03:03 +0100 |
commit | c99444905edcea5e4b053af6cc62313f8caf98fd (patch) | |
tree | f6e778f76ce22ec36bf5b6e2ac94486e32699003 | |
parent | 6a02aa77d80e4040bea699a88cf0dd208df639b4 (diff) | |
download | binutils-c99444905edcea5e4b053af6cc62313f8caf98fd.zip binutils-c99444905edcea5e4b053af6cc62313f8caf98fd.tar.gz binutils-c99444905edcea5e4b053af6cc62313f8caf98fd.tar.bz2 |
[gdb/testsuite] Fix DUPLICATE in gdb.arch/pr25124.exp
With test-case gdb.arch/pr25124.exp, I run into:
...
PASS: gdb.arch/pr25124.exp: disassemble thumb instruction (1st try)
PASS: gdb.arch/pr25124.exp: disassemble thumb instruction (2nd try)
DUPLICATE: gdb.arch/pr25124.exp: disassemble thumb instruction (2nd try)
...
Fix this by using a comma instead of parentheses.
Tested on arm-linux.
Approved-By: Tom Tromey <tom@tromey.com>
-rw-r--r-- | gdb/testsuite/gdb.arch/pr25124.exp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.arch/pr25124.exp b/gdb/testsuite/gdb.arch/pr25124.exp index 3bf08a1..26cfc13 100644 --- a/gdb/testsuite/gdb.arch/pr25124.exp +++ b/gdb/testsuite/gdb.arch/pr25124.exp @@ -30,7 +30,7 @@ clean_restart $binfile # Check if the disassemble ouput is correct. gdb_test "x /i main+8" \ "$hex <main\\+8>:\[ \t\]+bx\[ \t\]+lr" \ - "disassemble thumb instruction (1st try)" + "disassemble thumb instruction, 1st try" # Reload the symbol file to trigger the bug. gdb_load ${binfile} @@ -38,4 +38,4 @@ gdb_load ${binfile} # Check if the disassemble output is the same as above. gdb_test "x /i main+8" \ "$hex <main\\+8>:\[ \t\]+bx\[ \t\]+lr" \ - "disassemble thumb instruction (2nd try)" + "disassemble thumb instruction, 2nd try" |