From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27910 invoked by alias); 17 Jun 2008 08:02:23 -0000 Received: (qmail 27900 invoked by uid 22791); 17 Jun 2008 08:02:23 -0000 X-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,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; Tue, 17 Jun 2008 08:02:05 +0000 Received: from lunn by londo.lunn.ch with local (Exim 3.36 #1 (Debian)) id 1K8W8e-0006Yk-00; Tue, 17 Jun 2008 10:02:00 +0200 Date: Tue, 17 Jun 2008 08:02:00 -0000 From: Andrew Lunn To: seu ying Cc: ecos-devel@ecos.sourceware.org Subject: Re: how to debug app in redboot Message-ID: <20080617080200.GA24909@lunn.ch> References: 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/msg00020.txt.bz2 > 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