aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorTom de Vries <tdevries@suse.de>2024-12-03 23:03:03 +0100
committerTom de Vries <tdevries@suse.de>2024-12-03 23:03:03 +0100
commitc99444905edcea5e4b053af6cc62313f8caf98fd (patch)
treef6e778f76ce22ec36bf5b6e2ac94486e32699003 /gdb
parent6a02aa77d80e4040bea699a88cf0dd208df639b4 (diff)
downloadbinutils-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>
Diffstat (limited to 'gdb')
-rw-r--r--gdb/testsuite/gdb.arch/pr25124.exp4
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"