Hello all, This patch fixes stepping over system call instruction on architectures that use software single stepping and also may increment PC upon return from the system call to communicate error. (e.g. this is what we do on Neutrino). Note: I could only test this on Neutrino. Thanks, Aleksandar ChangeLog: * gdbarch.sh (syscall_pc_increment): New function. * gdbarch.h, gdbarch.c: Regenerated. * arm-tdep.c (arm_software_single_step): Use gdbarch_syscall_pc_increment and if provided, insert second single step breakpoint at the incremented address.