From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25983 invoked by alias); 3 Jun 2003 13:00:10 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 25963 invoked from network); 3 Jun 2003 13:00:09 -0000 Received: from unknown (HELO crack.them.org) (146.82.138.56) by sources.redhat.com with SMTP; 3 Jun 2003 13:00:09 -0000 Received: from dsl093-172-017.pit1.dsl.speakeasy.net ([66.93.172.17] helo=nevyn.them.org ident=mail) by crack.them.org with asmtp (Exim 3.12 #1 (Debian)) id 19NBPD-0008P3-00; Tue, 03 Jun 2003 08:00:47 -0500 Received: from drow by nevyn.them.org with local (Exim 3.36 #1 (Debian)) id 19NBOW-0003Wl-00; Tue, 03 Jun 2003 09:00:04 -0400 Date: Tue, 03 Jun 2003 13:00:00 -0000 From: Daniel Jacobowitz To: Amit.Lubovsky@infineon.com Cc: gdb@sources.redhat.com Subject: Re: gdb-5.3 on mips Message-ID: <20030603130004.GB13483@nevyn.them.org> Mail-Followup-To: Amit.Lubovsky@infineon.com, gdb@sources.redhat.com References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.1i X-SW-Source: 2003-06/txt/msg00028.txt.bz2 On Tue, Jun 03, 2003 at 03:34:14PM +0200, Amit.Lubovsky@infineon.com wrote: > Hi, > I need some help in order to guide me where to start..., > my target is mips running uClinux I have compiled gdb-5.3, > gdbserver and gdb for the host, > > follows the output when I run gdb on the host, what happens is that > I can't control the target process like setting breakpoints > getting info and so on. > > any help will be appreciated. This looks like a kernel bug on your target to me. > (gdb) b main > Sending packet: $m400220,4#f5...Ack > Packet received: 00000000 > Breakpoint 1 at 0x400220 That's really unlikely. Main should not start with a nop. So ptrace PEEKTEXT isn't working, which suggests that POKETEXT won't either. -- Daniel Jacobowitz MontaVista Software Debian GNU/Linux Developer