From 4b49b80fe7c9a70424d579939b46c6b148b1bbdb Mon Sep 17 00:00:00 2001 From: Ulrich Weigand Date: Sat, 14 Apr 2007 18:10:54 +0000 Subject: * gdbarch.sh (software_single_step): Remove "insert_breakpoints_p" and "sig" arguments, add "regcache" argument. * gdbarch.c, gdbarch.h: Regenerate. * infrun.c (resume): Update SOFTWARE_SINGLE_STEP call arguments. (handle_inferior_event): Call remove_single_step_breakpoints directly instead of calling SOFTWARE_SINGLE_STEP to remove breakpoints. * alpha-tdep.c (alpha_software_single_step): Update argument list. Remove handling of !insert_breakpoints_p case. * arm-tdep.c (arm_software_single_step): Likewise. * cris-tdep.c (cris_software_single_step): Likewise. * mips-tdep.c (mips_software_single_step): Likewise. * rs6000-tdep.c (rs6000_software_single_step): Likewise. * sparc-tdep.c (sparc_software_single_step): Likewise. * spu-tdep.c (spu_software_single_step): Likewise. * alpha-tdep.h (alpha_software_single_step): Update prototype. * mips-tdep.h (mips_software_single_step): Likewise. * rs6000-tdep.h (rs6000_software_single_step): Likewise. * sparc-tdep.h (sparc_software_single_step): Likewise. --- gdb/sparc-tdep.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'gdb/sparc-tdep.h') diff --git a/gdb/sparc-tdep.h b/gdb/sparc-tdep.h index e1e97c455ce..80385b4db16 100644 --- a/gdb/sparc-tdep.h +++ b/gdb/sparc-tdep.h @@ -167,8 +167,7 @@ extern struct sparc_frame_cache * -extern int sparc_software_single_step (enum target_signal sig, - int insert_breakpoints_p); +extern int sparc_software_single_step (struct regcache *regcache); extern void sparc_supply_rwindow (struct regcache *regcache, CORE_ADDR sp, int regnum); -- cgit v1.2.1