From 99afc88b396045cfe3755bede41a45ad3bed021d Mon Sep 17 00:00:00 2001 From: Omair Javaid Date: Mon, 11 May 2015 12:10:46 +0100 Subject: Implements aarch64 process record and reverse debugging support This patch adds the support of aarch64-linux process record and reverse debugging. The implementation is similar to ARM's counterpart. 2015-05-26 Omair Javaid Yao Qi * aarch64-linux-tdep.c: Include linux-record.h and record-full.h. (struct linux_record_tdep aarch64_linux_record_tdep): Declare. (aarch64_syscall): New enum. (aarch64_canonicalize_syscall): New function. (aarch64_all_but_pc_registers_record): New function. (aarch64_linux_syscall_record): New function. (aarch64_linux_init_abi): Install AArch64 process record handler. Update to handle syscall recording. * aarch64-tdep.c: Include record.h and record-full.h. (submask, bit, bits, REG_ALLOC, MEM_ALLOC): New macros. (struct aarch64_mem_r): Define. (aarch64_record_result): New enum. (struct insn_decode_record): Define. (insn_decode_record): New typedef. (aarch64_record_data_proc_reg): New function. (aarch64_record_data_proc_imm): New function. (aarch64_record_branch_except_sys): New function. (aarch64_record_load_store): New function. (aarch64_record_data_proc_simd_fp): New function. (aarch64_record_asimd_load_store): New function. (aarch64_record_decode_insn_handler): New function. (deallocate_reg_mem): New function. (aarch64_process_record): New function. * aarch64-tdep.h (struct gdbarch_tdep) : New field. (aarch64_process_record): New extern declaration. * configure.tgt: Add linux-record.o to gdb_target_obs. * linux-record.h (struct linux_record_tdep) : New field. --- gdb/linux-record.h | 1 + 1 file changed, 1 insertion(+) (limited to 'gdb/linux-record.h') diff --git a/gdb/linux-record.h b/gdb/linux-record.h index ab39cb9c684..27bb700800a 100644 --- a/gdb/linux-record.h +++ b/gdb/linux-record.h @@ -174,6 +174,7 @@ struct linux_record_tdep int arg4; int arg5; int arg6; + int arg7; }; /* Enum that defines the gdb-canonical set of Linux syscall identifiers. -- cgit v1.2.1