Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: "Gerrit van Niekerk" <gerritvn@gpvno.co.za>
To: Guillaume MENANT <guillaume.menant@geensys.com>,
	              gdb@sourceware.org
Subject: Re: Problem using GDB  and Eclipse with my stub
Date: Fri, 18 Jan 2008 11:14:00 -0000	[thread overview]
Message-ID: <4790A606.31295.B47350@gerritvn.gpvno.co.za> (raw)
In-Reply-To: <14948068.post@talk.nabble.com>

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 ->         +




  reply	other threads:[~2008-01-18 11:14 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-18 10:31 Guillaume MENANT
2008-01-18 11:14 ` Gerrit van Niekerk [this message]
2008-01-18 15:30 ` Daniel Jacobowitz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4790A606.31295.B47350@gerritvn.gpvno.co.za \
    --to=gerritvn@gpvno.co.za \
    --cc=gdb@sourceware.org \
    --cc=gpvno@telkomsa.net \
    --cc=guillaume.menant@geensys.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox