Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Eli Zaretskii <eliz@is.elta.co.il>
To: Stephen Smith <ischis2@home.com>
Cc: GDB <gdb@sources.redhat.com>
Subject: Re: GDB's remote protocol: rCommand
Date: Wed, 21 Mar 2001 15:59:00 -0000	[thread overview]
Message-ID: <Pine.SUN.3.91.1010320113043.7756S-100000@is> (raw)
In-Reply-To: <3AB6CB9A.C0883CD9@home.com>

On Mon, 19 Mar 2001, Stephen Smith wrote:

> When reading chapter 13 of the gdb manual, the rcmd can be taken to mean one 
> of two things:
> 
> 1)  a command sent from the host machine to the target machine for the GDB server/stub to
> execute
> 
> 2)  a command sent from the target machine to the host machine for GDB to execute
> 
> Which is it supposed to be?

The former, of course.  The text before the table says:

    The host (GDB) sends COMMANDs, and the target (the debugging stub
    incorporated in your program) sends a RESPONSE.

This is to say, _all_ the commands in the table are sent from host to
target; the stab on the target only sends responses to those commands.

Please suggest how to make this point more clear in the manual.


      parent reply	other threads:[~2001-03-21 15:59 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-03-21 15:59 Stephen Smith
2001-03-21 15:59 ` Andrew Cagney
2001-03-21 15:59   ` GDB's remote protocol: My proposed extention Stephen Smith
2001-03-21 15:59     ` J.T. Conklin
2001-03-21 15:59 ` Eli Zaretskii [this message]

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=Pine.SUN.3.91.1010320113043.7756S-100000@is \
    --to=eliz@is.elta.co.il \
    --cc=gdb@sources.redhat.com \
    --cc=ischis2@home.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