Remove parameter sysret from linux_target_ops.get_syscall_trapinfo
authorYao Qi <yao.qi@linaro.org>
Tue, 28 Jun 2016 11:02:35 +0000 (12:02 +0100)
committerYao Qi <yao.qi@linaro.org>
Tue, 28 Jun 2016 11:03:28 +0000 (12:03 +0100)
commit4cc32bec04aadc5c070d0f4aee656313a4854c11
tree7b5faed21daff5274044424a902f4596b2c29d92
parenta31d2f068fa1384c505b540ea595d2d97813ba5f
Remove parameter sysret from linux_target_ops.get_syscall_trapinfo

When I implement linux_target_ops.get_syscall_trapinfo for aarch64 and arm,
I find the second parameter sysret isn't used at all.  In RSP, we don't
need syscall return value either, because GDB can figure out the return
value from registers content got by 'g' packet.

This patch is to remove them.

gdb/gdbserver:

2016-06-28  Yao Qi  <yao.qi@linaro.org>

* linux-low.c (get_syscall_trapinfo): Remove parameter sysret.
Callers updated.
* linux-low.h (struct linux_target_ops) <get_syscall_trapinfo>:
Remove parameter sysno.
* linux-x86-low.c (x86_get_syscall_trapinfo): Remove parameter
sysret.
gdb/gdbserver/ChangeLog
gdb/gdbserver/linux-low.c
gdb/gdbserver/linux-low.h
gdb/gdbserver/linux-x86-low.c
This page took 0.040946 seconds and 4 git commands to generate.