linux-mips
[Top] [All Lists]

Re: gdbserver on mips

To: Rahul Pande <rahul.pande@wipro.com>
Subject: Re: gdbserver on mips
From: Daniel Jacobowitz <dan@debian.org>
Date: Sun, 6 Jul 2003 22:53:43 -0400
Cc: linux-mips@linux-mips.org
In-reply-to: <52C85426D39B314381D76DDD480EEE0CDA556C@blr-m3-msg.wipro.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <52C85426D39B314381D76DDD480EEE0CDA556C@blr-m3-msg.wipro.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.1i
On Fri, Jul 04, 2003 at 07:13:14PM +0530, Rahul Pande wrote:
> 
> Hi,
>  
>  I am working on a AMD Au1500 based board and want some information. I
> am using the Linux 2.4.21pre. The problem happens when i run an
> application under "gdbserver" on the board, it does not allow me to
> single step into functions/code. The following 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. I would
> like to know why single stepping support is not there for mips
> architecture under linux, whereas it is there for others like i386,
> alpha, arm etc ?

You're using too old of a GDB then.  It should not attempt to
single-step.

> **************************Disclaimer************************************
> 
> Information contained in this E-MAIL being proprietary to Wipro Limited is 
> 'privileged' and 'confidential' and intended for use only by the individual
>  or entity to which it is addressed. You are notified that any use, copying 
> or dissemination of the information contained in the E-MAIL in any manner 
> whatsoever is strictly prohibited.
> 
> ***************************************************************************

Don't do that again.  Period.

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer

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