> > +#ifdef ARCH_HAS_USER_SINGLE_STEP_INFO > +extern void user_single_step_siginfo(struct task_struct *tsk, > + struct pt_regs *regs, siginfo_t *info); > +#else > +static inline void user_single_step_siginfo(struct task_struct *tsk, > + struct pt_regs *regs, siginfo_t *info) > +{ > + memset(info, 0, sizeof(*info)); > + info->si_signo = SIGTRAP;
Is it possible to add si_code and si_addr info info->si_code = TRAP_TRACE; info->si_addr = instruction_pointer(regs); > +} > +#endif > + Thanks and Regards -Srikar