From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15006 invoked by alias); 19 Jun 2008 06:34:41 -0000 Received: (qmail 14996 invoked by uid 22791); 19 Jun 2008 06:34:40 -0000 X-Spam-Status: No, hits=-1.0 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_44,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org Received: from yw-out-1718.google.com (HELO yw-out-1718.google.com) (74.125.46.158) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 19 Jun 2008 06:34:22 +0000 Received: by yw-out-1718.google.com with SMTP id 9so345644ywk.66 for ; Wed, 18 Jun 2008 23:34:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=7TOwiyISXKQItHzKJycJONsazc6ZD/RUISg+FNg2piU=; b=Ef6sXwFIbdjsMSpFn+eYe8uumvLqcRQ5I8P/Z9QgOaNfcfrhyiG8r6Oo9ZhfqerWWF Kunavz4fymvKY3xTOzf/mck3DRDDsUkgT4AHmLOWfACxWMAIMi1HDdsEpcxaoWPeiwJn ZFW0VjJShU+sj1y1mb7gyM4dQCW9Hl5giTRvI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=aoQEmpt7itCpx0ZK2w/DcSkMd2sXtqcLKJR3irHHq3xeHIEhgqqMHYL1A1Iet5vYTa GKTAzSZiukMDJZSIgcsQUGLVywwWdaYXgoRTetACTvaoHiIj6vg/zyh77B1HNfbnko+l +NmrUjifszhJZRCBm8Yc7yakBrjiX4i5qpoMM= Received: by 10.151.103.11 with SMTP id f11mr2530659ybm.174.1213857259618; Wed, 18 Jun 2008 23:34:19 -0700 (PDT) Received: by 10.151.10.8 with HTTP; Wed, 18 Jun 2008 23:34:19 -0700 (PDT) Message-ID: Date: Thu, 19 Jun 2008 06:34:00 -0000 From: "George Ying" To: "Andrew Lunn" Subject: Re: how to debug app in redboot Cc: ecos-devel@ecos.sourceware.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20080617080200.GA24909@lunn.ch> 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/msg00032.txt.bz2 there are any suggestion? 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