s390: gdbarch_tdep add hook for syscall record
authorPhilipp Rudo <prudo@linux.vnet.ibm.com>
Tue, 23 Jan 2018 12:37:43 +0000 (13:37 +0100)
committerAndreas Arnez <arnez@linux.vnet.ibm.com>
Tue, 23 Jan 2018 12:37:43 +0000 (13:37 +0100)
commit9c0b896ee1d4edfe30c783b027ed5c081845a63d
tree557e3861248505f39fcab0bc5758a3f006a739cd
parent7042632bf7976d29889ba89fe4867654c5f38e2d
s390: gdbarch_tdep add hook for syscall record

Most parts of s390_process_record are common for the architecture.  Only
the system call handling differs between the OSes.  In order to be able to
move s390_process_record to a common code file add a hook to record
syscalls to gdbarch_tdep.  So every OS can implement their own handling.

gdb/ChangeLog:

* s390-linux-tdep.c (gdbarch_tdep.s390_syscall_record): New hook.
(s390_process_record, s390_gdbarch_tdep_alloc)
(s390_linux_init_abi_any): Use/set new hook.
gdb/ChangeLog
gdb/s390-linux-tdep.c
This page took 0.024963 seconds and 4 git commands to generate.