gdb: Add process record and replay support for s390.
authorMarcin Kościelnicki <koriakin@0x04.net>
Mon, 2 Nov 2015 16:16:07 +0000 (17:16 +0100)
committerMarcin Kościelnicki <koriakin@0x04.net>
Wed, 4 Nov 2015 14:27:38 +0000 (15:27 +0100)
commit566c56c91116321f48573a0a4274cc5244330490
tree742ed1f490ea53b3df00f36c3d7c50618e3eecab
parent394816ee10a85e3e0fa7c9b0a4ca29e7e160e63c
gdb: Add process record and replay support for s390.

gdb/ChangeLog:

PR/18376
* gdb/configure.tgt: Add linux-record.o to s390*-linux.
* gdb/s390-linux-tdep.c: #include "linux-record.h", "record-full.h"
(s390_linux_record_tdep): New static global variable.
(s390x_linux_record_tdep): New static global variable.
(s390_all_but_pc_registers_record): New function.
(s390_canonicalize_syscall): New function.
(s390_linux_syscall_record): New function.
(s390_linux_record_signal): New function.
(s390_record_calc_disp_common): New function.
(s390_record_calc_disp): New function.
(s390_record_calc_disp_vsce): New function.
(s390_record_calc_rl): New function.
(s390_record_gpr_g): New function.
(s390_record_gpr_h): New function.
(s390_record_vr): New function.
(s390_process_record): New function.
(s390_init_linux_record_tdep): New function.
(s390_gdbarch_init): Fill record function slots.

gdb/testsuite/ChangeLog:

* gdb.reverse/s390-mvcle.c: New test.
* gdb.reverse/s390-mvcle.exp: New file.
* lib/gdb.exp: Enable reverse tests on s390*-linux.
gdb/ChangeLog
gdb/configure.tgt
gdb/s390-linux-tdep.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.reverse/s390-mvcle.c [new file with mode: 0644]
gdb/testsuite/gdb.reverse/s390-mvcle.exp [new file with mode: 0644]
gdb/testsuite/lib/gdb.exp