diff options
author | Markus Metzger <mmetzger@sourceware.org> | 2013-03-11 08:45:54 +0000 |
---|---|---|
committer | Markus Metzger <mmetzger@sourceware.org> | 2013-03-11 08:45:54 +0000 |
commit | 25ea693b87da84e449d731c609b0fd744092e70d (patch) | |
tree | 28023832e357c44ce12747485260fc6c3de06ea7 /gdb/amd64-linux-tdep.c | |
parent | 88d1aa9d26a8152a4340ffce49d66d017ca5c2bf (diff) | |
download | gdb-25ea693b87da84e449d731c609b0fd744092e70d.zip gdb-25ea693b87da84e449d731c609b0fd744092e70d.tar.gz gdb-25ea693b87da84e449d731c609b0fd744092e70d.tar.bz2 |
Rename record_ prefixes in record-full.h into record_full_.
gdb/
* record-full.h, record-full.c (record_memory_query): Rename
to ...
(record_full_memory_query): ...this. Update all users.
(record_arch_list_add_reg): Rename to ...
(record_full_arch_list_add_reg): ...this. Update all users.
(record_arch_list_add_mem): Rename to ...
(record_full_arch_list_add_mem): ...this. Update all users.
(record_arch_list_add_end): Rename to ...
(record_full_arch_list_add_end): ...this. Update all users.
(record_gdb_operation_disable_set): Rename to ...
(record_full_gdb_operation_disable_set): ...this.
Update all users.
Diffstat (limited to 'gdb/amd64-linux-tdep.c')
-rw-r--r-- | gdb/amd64-linux-tdep.c | 50 |
1 files changed, 25 insertions, 25 deletions
diff --git a/gdb/amd64-linux-tdep.c b/gdb/amd64-linux-tdep.c index 4f383db..88c291d 100644 --- a/gdb/amd64-linux-tdep.c +++ b/gdb/amd64-linux-tdep.c @@ -313,39 +313,39 @@ amd64_linux_write_pc (struct regcache *regcache, CORE_ADDR pc) static int amd64_all_but_ip_registers_record (struct regcache *regcache) { - if (record_arch_list_add_reg (regcache, AMD64_RAX_REGNUM)) + if (record_full_arch_list_add_reg (regcache, AMD64_RAX_REGNUM)) return -1; - if (record_arch_list_add_reg (regcache, AMD64_RCX_REGNUM)) + if (record_full_arch_list_add_reg (regcache, AMD64_RCX_REGNUM)) return -1; - if (record_arch_list_add_reg (regcache, AMD64_RDX_REGNUM)) + if (record_full_arch_list_add_reg (regcache, AMD64_RDX_REGNUM)) return -1; - if (record_arch_list_add_reg (regcache, AMD64_RBX_REGNUM)) + if (record_full_arch_list_add_reg (regcache, AMD64_RBX_REGNUM)) return -1; - if (record_arch_list_add_reg (regcache, AMD64_RSP_REGNUM)) + if (record_full_arch_list_add_reg (regcache, AMD64_RSP_REGNUM)) return -1; - if (record_arch_list_add_reg (regcache, AMD64_RBP_REGNUM)) + if (record_full_arch_list_add_reg (regcache, AMD64_RBP_REGNUM)) return -1; - if (record_arch_list_add_reg (regcache, AMD64_RSI_REGNUM)) + if (record_full_arch_list_add_reg (regcache, AMD64_RSI_REGNUM)) return -1; - if (record_arch_list_add_reg (regcache, AMD64_RDI_REGNUM)) + if (record_full_arch_list_add_reg (regcache, AMD64_RDI_REGNUM)) return -1; - if (record_arch_list_add_reg (regcache, AMD64_R8_REGNUM)) + if (record_full_arch_list_add_reg (regcache, AMD64_R8_REGNUM)) return -1; - if (record_arch_list_add_reg (regcache, AMD64_R9_REGNUM)) + if (record_full_arch_list_add_reg (regcache, AMD64_R9_REGNUM)) return -1; - if (record_arch_list_add_reg (regcache, AMD64_R10_REGNUM)) + if (record_full_arch_list_add_reg (regcache, AMD64_R10_REGNUM)) return -1; - if (record_arch_list_add_reg (regcache, AMD64_R11_REGNUM)) + if (record_full_arch_list_add_reg (regcache, AMD64_R11_REGNUM)) return -1; - if (record_arch_list_add_reg (regcache, AMD64_R12_REGNUM)) + if (record_full_arch_list_add_reg (regcache, AMD64_R12_REGNUM)) return -1; - if (record_arch_list_add_reg (regcache, AMD64_R13_REGNUM)) + if (record_full_arch_list_add_reg (regcache, AMD64_R13_REGNUM)) return -1; - if (record_arch_list_add_reg (regcache, AMD64_R14_REGNUM)) + if (record_full_arch_list_add_reg (regcache, AMD64_R14_REGNUM)) return -1; - if (record_arch_list_add_reg (regcache, AMD64_R15_REGNUM)) + if (record_full_arch_list_add_reg (regcache, AMD64_R15_REGNUM)) return -1; - if (record_arch_list_add_reg (regcache, AMD64_EFLAGS_REGNUM)) + if (record_full_arch_list_add_reg (regcache, AMD64_EFLAGS_REGNUM)) return -1; return 0; @@ -1164,7 +1164,7 @@ amd64_canonicalize_syscall (enum amd64_syscall syscall_number) /* Parse the arguments of current system call instruction and record the values of the registers and memory that will be changed into - "record_arch_list". This instruction is "syscall". + "record_full_arch_list". This instruction is "syscall". Return -1 if something wrong. */ @@ -1203,8 +1203,8 @@ amd64_linux_syscall_record (struct regcache *regcache) regcache_raw_read_unsigned (regcache, amd64_linux_record_tdep.arg2, &addr); - if (record_arch_list_add_mem (addr, - amd64_linux_record_tdep.size_ulong)) + if (record_full_arch_list_add_mem + (addr, amd64_linux_record_tdep.size_ulong)) return -1; } goto record_regs; @@ -1231,9 +1231,9 @@ amd64_linux_syscall_record (struct regcache *regcache) record_regs: /* Record the return value of the system call. */ - if (record_arch_list_add_reg (regcache, AMD64_RCX_REGNUM)) + if (record_full_arch_list_add_reg (regcache, AMD64_RCX_REGNUM)) return -1; - if (record_arch_list_add_reg (regcache, AMD64_R11_REGNUM)) + if (record_full_arch_list_add_reg (regcache, AMD64_R11_REGNUM)) return -1; return 0; @@ -1253,7 +1253,7 @@ amd64_linux_record_signal (struct gdbarch *gdbarch, if (amd64_all_but_ip_registers_record (regcache)) return -1; - if (record_arch_list_add_reg (regcache, AMD64_RIP_REGNUM)) + if (record_full_arch_list_add_reg (regcache, AMD64_RIP_REGNUM)) return -1; /* Record the change in the stack. */ @@ -1267,12 +1267,12 @@ amd64_linux_record_signal (struct gdbarch *gdbarch, /* This is for frame_size. sp -= sizeof (struct rt_sigframe); */ rsp -= AMD64_LINUX_frame_size; - if (record_arch_list_add_mem (rsp, AMD64_LINUX_redzone + if (record_full_arch_list_add_mem (rsp, AMD64_LINUX_redzone + AMD64_LINUX_xstate + AMD64_LINUX_frame_size)) return -1; - if (record_arch_list_add_end ()) + if (record_full_arch_list_add_end ()) return -1; return 0; |