From bd18283a08463e34d632cb27a21c2962eecf65cd Mon Sep 17 00:00:00 2001 From: Yao Qi Date: Thu, 7 Apr 2011 04:18:02 +0000 Subject: 2011-04-07 Yao Qi * arm-linux-tdep.c (arm_linux_copy_svc): Remove parameters INSN and TO. * arm-tdep.c (cleanup_svc): Handle variable instruction size. (arm_copy_svc): Remove parameters INSN and TO. (decode_svc_copro): Update caller. * arm-tdep.h (struct displaced_step_closure): Remove parameters from function pointer `copy_svc_os'. --- gdb/arm-tdep.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'gdb/arm-tdep.h') diff --git a/gdb/arm-tdep.h b/gdb/arm-tdep.h index f0473517a18..fe27c7f1087 100644 --- a/gdb/arm-tdep.h +++ b/gdb/arm-tdep.h @@ -258,8 +258,7 @@ struct displaced_step_closure { /* If non-NULL, override generic SVC handling (e.g. for a particular OS). */ - int (*copy_svc_os) (struct gdbarch *gdbarch, uint32_t insn, CORE_ADDR to, - struct regcache *regs, + int (*copy_svc_os) (struct gdbarch *gdbarch, struct regcache *regs, struct displaced_step_closure *dsc); } svc; } u; -- cgit v1.2.1