mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-01-12 12:16:04 +08:00
gdb/testsuite/gdb.base: Enable disp-step-syscall.exp tests for ARM.
disp-step-syscall.exp is not run for ARM targets because ARM syscall instructions have not been added to the list of possible syscall instructions. This patch adds ARM syscall instructions to enable disp-step-syscall.exp tests for ARM targets. Attached patch is tested on ARMv7 and helps pass all disp-step-syscall.exp tests for ARM targets. gdb/testsuite/ChangeLog: 2013-07-19 Omair Javaid <Omair.Javaid@linaro.org> * gdb.base/disp-step-syscall.exp: Add svc and swi syscall instructions and enable disp-step-syscall for arm targets.
This commit is contained in:
parent
9a5911c08b
commit
5d0a3b53c0
@ -1,3 +1,8 @@
|
||||
2013-07-19 Omair Javaid <Omair.Javaid@linaro.org>
|
||||
|
||||
* gdb.base/disp-step-syscall.exp: Add svc and swi syscall
|
||||
instructions and enable disp-step-syscall for arm targets.
|
||||
|
||||
2013-07-19 Omair Javaid <Omair.Javaid@linaro.org>
|
||||
|
||||
* gdb.dwarf2/fission-reread.S: Replace @ sign with % sign to remove
|
||||
|
@ -26,6 +26,8 @@ set syscall_insn ""
|
||||
|
||||
if { [istarget "i\[34567\]86-*-linux*"] || [istarget "x86_64-*-linux*"] } {
|
||||
set syscall_insn "\[ \t\](int|syscall|sysenter)\[ \t\]"
|
||||
} elseif [istarget "arm*-*-linux*"] {
|
||||
set syscall_insn "\[ \t\](swi|svc)\[ \t\]"
|
||||
} else {
|
||||
return -1
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user