aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@efficios.com>2022-05-30 12:54:47 -0400
committerSimon Marchi <simon.marchi@polymtl.ca>2022-05-30 12:59:06 -0400
commitda18821a9a2a36e0dc963d70252fc895906c264c (patch)
treefcd56bc5cdd991c2b20c55e18b0f6a67f19f1fe5
parent5541bfdc97936581c0ead915e9117e22f21bdb12 (diff)
downloadgdb-da18821a9a2a36e0dc963d70252fc895906c264c.zip
gdb-da18821a9a2a36e0dc963d70252fc895906c264c.tar.gz
gdb-da18821a9a2a36e0dc963d70252fc895906c264c.tar.bz2
gdb/testsuite: fix gdb.trace/signal.exp on x86
Patch 202be274a41a ("opcodes/i386: remove trailing whitespace from insns with zero operands") causes this regression: FAIL: gdb.trace/signal.exp: find syscall insn in kill It's because the test still expects to match a whitespace after the instruction, which the patch mentioned above removed. Remove the whitespaces for the regexp. Change-Id: Ie194273cc942bfd91332d4035f6eec55b7d3a428
-rw-r--r--gdb/testsuite/gdb.trace/signal.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.trace/signal.exp b/gdb/testsuite/gdb.trace/signal.exp
index e5b6089..782abeb 100644
--- a/gdb/testsuite/gdb.trace/signal.exp
+++ b/gdb/testsuite/gdb.trace/signal.exp
@@ -55,7 +55,7 @@ set syscall_insn ""
# Define the syscall instruction for each target.
if { [istarget "i\[34567\]86-*-linux*"] || [istarget "x86_64-*-linux*"] } {
- set syscall_insn "\[ \t\](int|syscall|sysenter)\[ \t\]"
+ set syscall_insn "\[ \t\](int|syscall|sysenter)"
} elseif { [istarget "aarch64*-*-linux*"] || [istarget "arm*-*-linux*"] } {
set syscall_insn "\[ \t\](swi|svc)\[ \t\]"
} else {