From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3901 invoked by alias); 19 Jun 2008 07:59:03 -0000 Received: (qmail 3888 invoked by uid 22791); 19 Jun 2008 07:59:00 -0000 X-Spam-Status: No, hits=-2.2 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_44,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from londo.lunn.ch (HELO londo.lunn.ch) (80.238.139.98) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 19 Jun 2008 07:58:43 +0000 Received: from lunn by londo.lunn.ch with local (Exim 3.36 #1 (Debian)) id 1K9F2P-0000Ht-00; Thu, 19 Jun 2008 09:58:33 +0200 Date: Thu, 19 Jun 2008 07:59:00 -0000 From: Andrew Lunn To: George Ying Cc: Andrew Lunn , ecos-devel@ecos.sourceware.org Subject: Re: how to debug app in redboot Message-ID: <20080619075833.GB32268@lunn.ch> References: <20080617080200.GA24909@lunn.ch> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.18 (2008-05-17) X-IsSubscribed: yes Mailing-List: contact ecos-devel-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: ecos-devel-owner@ecos.sourceware.org X-SW-Source: 2008-06/txt/msg00033.txt.bz2 On Thu, Jun 19, 2008 at 02:34:19PM +0800, George Ying wrote: > there are any suggestion? What is your target hardware? What version of gdb are you using? What version of eCos. Andrew > > 2008/6/18, George Ying : > > hi,Andrew: > > when i use arm-elf-gdb to connect target, it's fail,show below: > > target address:192.168.0.173 > > > > (gdb) set debug remote 1 > > (gdb) target remote 192.168.0.173:9000 > > Remote debugging using 192.168.0.173:9000 > > Sending packet: $Hc-1#09...putpkt: Junk: RedBoot> > > Ack > > Packet received: > > Sending packet: $qC#b4...Ack > > Packet received: > > Sending packet: $qOffsets#4b...Ack > > Packet received: > > Sending packet: $?#3f...Sending packet: $?#3f...Ack > > Packet received: S05 > > Sending packet: $Hg0#df...Packet instead of Ack, ignoring it > > Packet instead of Ack, ignoring it > > Sending packet: $Hg0#df...Packet instead of Ack, ignoring it > > Sending packet: $Hg0#df...Packet instead of Ack, ignoring it > > Sending packet: $Hg0#df...Timed out. > > Timed out. > > Timed out. > > > > 2008/6/17, Andrew Lunn : > > > > I capture package with ethereal, found that for any gdb request > > > > command from host, > > > > redboot return $#00 (it's mean system don't support this command), why? > > > > > > The gdb stub in eCos only supports a subset of the gdb commands. So i > > > would expect to see some commands rejected. However it should not > > > reject all commands. The gdn x command to show a region of memory > > > should work. What happens when you try that? > > > > > > Andrew > > > > > > > > > -- > > George > > > > > -- > George