[RFA] Small improvements to the remote protocol manual

Yao Qi qiyaoltc@gmail.com
Thu Sep 15 16:09:00 GMT 2016


On Wed, Sep 14, 2016 at 11:58 PM, Tom Tromey <tom@tromey.com> wrote:
> Also, I forgot to note here that I didn't understand the documentation
> for the "A" packet; but when I looked at the code I couldn't find it in
> either gdb or gdbserver.  So, I wonder if it ought to be deleted.
>

The "A" packet was added in 1999 as a "reserved" packet,

+@item set program arguments @strong{(reserved)} @emph{(optional)}
+@tab @code{A}@var{arglen}@code{,}@var{argnum}@code{,}@var{arg}@code{,...}

but the "reserved" marker is removed in
b8ff78cefa335846b4303f303847a4d69e652795 (2005),

        - Remove "(reserved)" markers on 'A' and 'I' packets; it's unclear
          what this ever meant.

Nowadays, we still can't pass arguments in remote debugging.  If "A" still
meets our needs, we can use it in the future to pass arguments.

-- 
Yao (齐尧)



More information about the Gdb-patches mailing list