aboutsummaryrefslogtreecommitdiff
path: root/gdb/arm-tdep.h
diff options
context:
space:
mode:
authorYao Qi <yao@codesourcery.com>2011-02-18 05:01:54 +0000
committerYao Qi <yao@codesourcery.com>2011-02-18 05:01:54 +0000
commitb434a28f71a481451dbd0719c6ca3fdf072d9407 (patch)
tree277a9f3183c6146713b1d9074f981af26bd0c13c /gdb/arm-tdep.h
parent0bbd5bccf3e652fe5649c7cdb4548f5656e59dac (diff)
downloadgdb-b434a28f71a481451dbd0719c6ca3fdf072d9407.zip
gdb-b434a28f71a481451dbd0719c6ca3fdf072d9407.tar.gz
gdb-b434a28f71a481451dbd0719c6ca3fdf072d9407.tar.bz2
2011-02-18 Yao Qi <yao@codesourcery.com>
* gdb/arm-tdep.c (arm_displaced_step_copy_insn): Move code to ... (arm_process_displaced_insn): .. here. Remove parameter INSN. (thumb_process_displaced_insn): New. * gdb/arm-linux-tdep.c (arm_linux_displaced_step_copy_insn): Update call to arm_process_displaced_insn. * gdb/arm-tdep.h : Update declaration of arm_process_displaced_insn.
Diffstat (limited to 'gdb/arm-tdep.h')
-rw-r--r--gdb/arm-tdep.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/gdb/arm-tdep.h b/gdb/arm-tdep.h
index 7abfcd7..6e7eab9 100644
--- a/gdb/arm-tdep.h
+++ b/gdb/arm-tdep.h
@@ -284,9 +284,8 @@ enum pc_write_style
};
extern void
- arm_process_displaced_insn (struct gdbarch *gdbarch, uint32_t insn,
- CORE_ADDR from, CORE_ADDR to,
- struct regcache *regs,
+ arm_process_displaced_insn (struct gdbarch *gdbarch, CORE_ADDR from,
+ CORE_ADDR to, struct regcache *regs,
struct displaced_step_closure *dsc);
extern void
arm_displaced_init_closure (struct gdbarch *gdbarch, CORE_ADDR from,