linux-mips
[Top] [All Lists]

Re: Can you please help me out -- Issue with GDB on mips board ????

To: V Mehul <vmehul@razamicroelectronics.com>
Subject: Re: Can you please help me out -- Issue with GDB on mips board ????
From: Daniel Jacobowitz <dan@debian.org>
Date: Tue, 18 Apr 2006 14:35:17 -0400
Cc: linux-mips@linux-mips.org
In-reply-to: <2E96546B3C2C8B4CA739323C6058204A726D89@hq-ex-mb01.razamicroelectronics.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <2E96546B3C2C8B4CA739323C6058204A726D89@hq-ex-mb01.razamicroelectronics.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.8i
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

<Prev in Thread] Current Thread [Next in Thread>