From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eli Zaretskii To: Stephen Smith Cc: GDB Subject: Re: GDB's remote protocol: rCommand Date: Wed, 21 Mar 2001 15:59:00 -0000 Message-id: References: <3AB6CB9A.C0883CD9@home.com> X-SW-Source: 2001-03/msg00188.html 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.