mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-23 19:50:13 +08:00
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
This commit is contained in:

committed by
Simon Marchi

parent
5541bfdc97
commit
da18821a9a
@ -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 {
|
||||
|
Reference in New Issue
Block a user