diff options
author | Omair Javaid <omair.javaid@linaro.org> | 2014-01-09 15:49:27 +0500 |
---|---|---|
committer | Will Newton <will.newton@linaro.org> | 2014-01-15 16:50:40 +0000 |
commit | 97dfe206170141e809e8ebef68a6a371861fd7f9 (patch) | |
tree | cf04029b44291e3af94e2603cf159f0bda096fee /gdb/arm-tdep.h | |
parent | 9904a494c1f85d283ffa7c18ac5103d2ff2feba6 (diff) | |
download | gdb-97dfe206170141e809e8ebef68a6a371861fd7f9.zip gdb-97dfe206170141e809e8ebef68a6a371861fd7f9.tar.gz gdb-97dfe206170141e809e8ebef68a6a371861fd7f9.tar.bz2 |
gdb: ARM: Adds support for recording system call instructions
gdb/ChangeLog:
2014-01-15 Omair Javaid <omair.javaid@linaro.org>
* arm-linux-tdep.c: Include "record-full.h" and "linux-record.h".
(struct arm_linux_record_tdep): Declare.
(arm_canonicalize_syscall): New function.
(arm_all_but_pc_registers_record): New function.
(arm_linux_syscall_record): New function.
(arm_linux_init_abi): Add syscall recording constructs.
* arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall
decoding. (arm_record_coproc_data_proc): Update arm syscall
decoding.
* arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove.
<arm_syscall_record>: New field.
* configure.tgt (arm*-*-linux*): Add linux-record.o to
gdb_target_obs.
Diffstat (limited to 'gdb/arm-tdep.h')
-rw-r--r-- | gdb/arm-tdep.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/arm-tdep.h b/gdb/arm-tdep.h index 334f443..f8ba122 100644 --- a/gdb/arm-tdep.h +++ b/gdb/arm-tdep.h @@ -205,8 +205,8 @@ struct gdbarch_tdep instruction. */ CORE_ADDR (*syscall_next_pc) (struct frame_info *frame); - /* Parse swi insn args, sycall record. */ - int (*arm_swi_record) (struct regcache *regcache); + /* syscall record. */ + int (*arm_syscall_record) (struct regcache *regcache, unsigned long svc_number); }; /* Structures used for displaced stepping. */ |