This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
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.
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.
-- Yao (éå)
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |