On Tue, Apr 18, 2006 at 12:13:03AM -0700, V Mehul wrote: > > hi, > i am working on i386 based board and want some information. i > am using mips-linux 2.6.6 kernel on target board and linux > 2.6.9 on intel board. I am running an application under > "gdbserver" on the target mips board, but am not able to do > a single step inside the function. Foll. error is displayed > "ptrace : Input/Output error", > > the "ptrace.c" file under arch/mips/kernel/ does not have support > for PTRACE_SINGLESTEP because of which the above error is > occuring. Though i386,alpha,arm etc. architecture has this > support, but why mips doesnt have this ? Because the hardware doesn't. GDB doesn't need it, either. It sounds like your GDB is not correctly configured for mips-linux. -- Daniel Jacobowitz CodeSourcery