summaryrefslogtreecommitdiff
path: root/gdb/arm-tdep.h
diff options
context:
space:
mode:
authorqiyao <qiyao>2011-03-08 01:04:33 +0000
committerqiyao <qiyao>2011-03-08 01:04:33 +0000
commit26beb4ff92e886ed8f3b7e72a9578d97861cce6c (patch)
treedf44c9062771053d04f6d462a35b20bea2690433 /gdb/arm-tdep.h
parent2493a1c3a1d73b5f38205f65ece3fa27ab25932e (diff)
downloadgdb-26beb4ff92e886ed8f3b7e72a9578d97861cce6c.tar.gz
2011-03-08 Yao Qi <yao@codesourcery.com>
* arm-tdep.c: Remove prototype declaration displaced_in_arm_mode. (displaced_read_reg): Add `dsc' parameter, remove `from' parameter. Use cached result instead of calling displaced_in_arm_mode again. (branch_write_pc, alu_write_pc, load_write_pc): Add `dsc' parameter. (displaced_write_reg, copy_preload, copy_preload_reg): Callers update. (cleanup_copro_load_store, copy_copro_load_store): Likewise. (cleanup_branch, copy_bx_blx_reg, copy_alu_imm): Likewise. (cleanup_alu_reg, copy_alu_reg, cleanup_alu_shifted_reg): Likewise. (copy_alu_shifted_reg, cleanup_load, cleanup_store): Likewise. (copy_extra_ld_st, copy_ldr_str_ldrb_strb): Likewise. (cleanup_block_load_all, cleanup_block_store_pc): Likewise. (cleanup_block_load_pc, copy_block_xfer): Likewise. * arm-linux-tdep.c (arm_linux_copy_svc): Callers update. (arm_catch_kernel_helper_return): Likewise. * gdb/arm-tdep.h : Update function declarations.
Diffstat (limited to 'gdb/arm-tdep.h')
-rw-r--r--gdb/arm-tdep.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/arm-tdep.h b/gdb/arm-tdep.h
index 362be2e7e26..ebd5e6ee314 100644
--- a/gdb/arm-tdep.h
+++ b/gdb/arm-tdep.h
@@ -302,7 +302,8 @@ extern void
arm_displaced_init_closure (struct gdbarch *gdbarch, CORE_ADDR from,
CORE_ADDR to, struct displaced_step_closure *dsc);
extern ULONGEST
- displaced_read_reg (struct regcache *regs, CORE_ADDR from, int regno);
+ displaced_read_reg (struct regcache *regs, struct displaced_step_closure *dsc,
+ int regno);
extern void
displaced_write_reg (struct regcache *regs,
struct displaced_step_closure *dsc, int regno,