From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29251 invoked by alias); 23 Jul 2002 12:29:18 -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 29242 invoked from network); 23 Jul 2002 12:29:16 -0000 Received: from unknown (HELO crack.them.org) (65.125.64.184) by sources.redhat.com with SMTP; 23 Jul 2002 12:29:16 -0000 Received: from dsl254-114-118.nyc1.dsl.speakeasy.net ([216.254.114.118] helo=nevyn.them.org ident=mail) by crack.them.org with asmtp (Exim 3.12 #1 (Debian)) id 17Wymy-0002NF-00; Tue, 23 Jul 2002 07:29:16 -0500 Received: from drow by nevyn.them.org with local (Exim 3.35 #1 (Debian)) id 17Wyn1-0001jP-00; Tue, 23 Jul 2002 08:29:19 -0400 Date: Tue, 23 Jul 2002 05:29:00 -0000 From: Daniel Jacobowitz To: Alexei Minayev Cc: gdb@sources.redhat.com Subject: Re: gdb-stub question (m packets) Message-ID: <20020723122919.GA6592@nevyn.them.org> Mail-Followup-To: Alexei Minayev , gdb@sources.redhat.com References: <20020723080536.90269.qmail@web13506.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020723080536.90269.qmail@web13506.mail.yahoo.com> User-Agent: Mutt/1.5.1i X-SW-Source: 2002-07/txt/msg00233.txt.bz2 On Tue, Jul 23, 2002 at 01:05:36AM -0700, Alexei Minayev wrote: > Dear gdb oracles, > > I'm still fighting with my gdb-h8-stub, and getting funny yet evil errors. > The gdb happens to attempt reading a memory location. The content of the > memory location is something that starts with 0xE, say 0xE500. > The conversation looks kinda like this: > > m200042,2...Ack > Packet received: E500 > Unable to access memory location 200042. > > The gdb understands the numeric hex value of 0xE500 as an error response. > So my question would be simple... am I supposed to prefix all my numeric > packets with "0x"? Please help, this is confusing... GDBserver uses lowercase hex numbers. That seems to work fine. -- Daniel Jacobowitz Carnegie Mellon University MontaVista Software Debian GNU/Linux Developer