arm-tdep.c: Remove unused "to" parameters
gdb/ChangeLog: * arm-tdep.c (arm_decode_svc_copro): Remove "to" parameter. (thumb_process_displaced_insn): Likewise. (arm_process_displaced_insn): Adjust calls.
This commit is contained in:
parent
31866b2cd4
commit
1254566561
2 changed files with 10 additions and 4 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2016-02-23 Simon Marchi <simon.marchi@ericsson.com>
|
||||||
|
|
||||||
|
* arm-tdep.c (arm_decode_svc_copro): Remove "to" parameter.
|
||||||
|
(thumb_process_displaced_insn): Likewise.
|
||||||
|
(arm_process_displaced_insn): Adjust calls.
|
||||||
|
|
||||||
2016-02-23 Yao Qi <yao.qi@linaro.org>
|
2016-02-23 Yao Qi <yao.qi@linaro.org>
|
||||||
|
|
||||||
* aarch64-linux-tdep.c (enum aarch64_syscall) <aarch64_sys_mknod>:
|
* aarch64-linux-tdep.c (enum aarch64_syscall) <aarch64_sys_mknod>:
|
||||||
|
|
|
@ -6741,7 +6741,7 @@ thumb2_decode_ext_reg_ld_st (struct gdbarch *gdbarch, uint16_t insn1,
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int
|
||||||
arm_decode_svc_copro (struct gdbarch *gdbarch, uint32_t insn, CORE_ADDR to,
|
arm_decode_svc_copro (struct gdbarch *gdbarch, uint32_t insn,
|
||||||
struct regcache *regs, struct displaced_step_closure *dsc)
|
struct regcache *regs, struct displaced_step_closure *dsc)
|
||||||
{
|
{
|
||||||
unsigned int op1 = bits (insn, 20, 25);
|
unsigned int op1 = bits (insn, 20, 25);
|
||||||
|
@ -7446,7 +7446,7 @@ thumb_process_displaced_32bit_insn (struct gdbarch *gdbarch, uint16_t insn1,
|
||||||
|
|
||||||
static void
|
static void
|
||||||
thumb_process_displaced_insn (struct gdbarch *gdbarch, CORE_ADDR from,
|
thumb_process_displaced_insn (struct gdbarch *gdbarch, CORE_ADDR from,
|
||||||
CORE_ADDR to, struct regcache *regs,
|
struct regcache *regs,
|
||||||
struct displaced_step_closure *dsc)
|
struct displaced_step_closure *dsc)
|
||||||
{
|
{
|
||||||
enum bfd_endian byte_order_for_code = gdbarch_byte_order_for_code (gdbarch);
|
enum bfd_endian byte_order_for_code = gdbarch_byte_order_for_code (gdbarch);
|
||||||
|
@ -7487,7 +7487,7 @@ arm_process_displaced_insn (struct gdbarch *gdbarch, CORE_ADDR from,
|
||||||
dsc->wrote_to_pc = 0;
|
dsc->wrote_to_pc = 0;
|
||||||
|
|
||||||
if (!displaced_in_arm_mode (regs))
|
if (!displaced_in_arm_mode (regs))
|
||||||
return thumb_process_displaced_insn (gdbarch, from, to, regs, dsc);
|
return thumb_process_displaced_insn (gdbarch, from, regs, dsc);
|
||||||
|
|
||||||
dsc->is_thumb = 0;
|
dsc->is_thumb = 0;
|
||||||
dsc->insn_size = 4;
|
dsc->insn_size = 4;
|
||||||
|
@ -7518,7 +7518,7 @@ arm_process_displaced_insn (struct gdbarch *gdbarch, CORE_ADDR from,
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 0xc: case 0xd: case 0xe: case 0xf:
|
case 0xc: case 0xd: case 0xe: case 0xf:
|
||||||
err = arm_decode_svc_copro (gdbarch, insn, to, regs, dsc);
|
err = arm_decode_svc_copro (gdbarch, insn, regs, dsc);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue