diff options
author | Yao Qi <yao.qi@linaro.org> | 2016-03-03 09:17:44 +0000 |
---|---|---|
committer | Yao Qi <yao.qi@linaro.org> | 2016-03-03 09:17:44 +0000 |
commit | 0b47da9f176aa73854f1ff8ae00afda11a4f338a (patch) | |
tree | a0f434e3378e4d63bb1d749a755ef3eb3f03a67b /gdb/testsuite/gdb.base/ss.h | |
parent | 0f8288ae82bf5bdb33d46d7447cd3132393a1bd2 (diff) | |
download | gdb-0b47da9f176aa73854f1ff8ae00afda11a4f338a.zip gdb-0b47da9f176aa73854f1ff8ae00afda11a4f338a.tar.gz gdb-0b47da9f176aa73854f1ff8ae00afda11a4f338a.tar.bz2 |
Refactor gdb.base/disp-step-syscall.exp for general step over test
This patch moves some code out of disp_step_cross_syscall to a new proc
check_pc_after_cross_syscall and setup. Procedure setup is to start a
fresh GDB and compute the syscall instruction address.
gdb/testsuite:
2016-03-03 Yao Qi <yao.qi@linaro.org>
* gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
proc.
(setup): New proc.
(disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
and setup.
Diffstat (limited to 'gdb/testsuite/gdb.base/ss.h')
0 files changed, 0 insertions, 0 deletions