From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2051 invoked by alias); 18 Jan 2008 11:14:17 -0000 Received: (qmail 2029 invoked by uid 22791); 18 Jan 2008 11:14:15 -0000 X-Spam-Check-By: sourceware.org Received: from ctb-mesg-2-3.saix.net (HELO ctb-mesg-2-3.saix.net) (196.25.240.83) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 18 Jan 2008 11:13:56 +0000 Received: from [192.168.0.8] (dsl-242-24-138.telkomadsl.co.za [41.242.24.138]) by ctb-mesg-2-3.saix.net (Postfix) with ESMTP id A97B02AFB4; Fri, 18 Jan 2008 13:13:52 +0200 (SAST) From: "Gerrit van Niekerk" To: Guillaume MENANT , gdb@sourceware.org Date: Fri, 18 Jan 2008 11:14:00 -0000 MIME-Version: 1.0 Subject: Re: Problem using GDB and Eclipse with my stub Reply-to: gerritvn@gpvno.co.za,gpvno@telkomsa.net Message-ID: <4790A606.31295.B47350@gerritvn.gpvno.co.za> In-reply-to: <14948068.post@talk.nabble.com> References: <14948068.post@talk.nabble.com> X-mailer: Pegasus Mail for Windows (4.41) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2008-01/txt/msg00166.txt.bz2 On 18 Jan 2008 at 2:30, Guillaume MENANT wrote: > I'm making a new topic because I had a problem in the last one (i've edited my message but it > hasn't been seen by mailing list users) > I'm working on the GDB startup management in my stub. The log of the sent commands is the > following : > GDB -> (command sent by GDB through Eclipse) > Wrapper reply -> (reply from my stub to GDB) > GDB -> $Hc-1# > Wrapper reply -> $+# > Call unsupported or unrecognized command method > Wrapper reply -> $#00 > GDB -> $+# I think you are misinterpreting the GDB commands and wrapper replies. You won't get a $+# command, because + (on it's own is a positive acknowledgement. In fact, the wrapper also has to send a + when it receives a command with a valid syntax and checksum. This is what it *should* look like: GDB -> $Hc-1#nn (where nn is the checksum) Wrapper ack -> + Wrapper reply -> $#00 (Call unsupported or unrecognized command method) GDB ack -> +