This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFA] Small improvements to the remote protocol manual


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 (齐尧)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]