docs: remote protocol: bc/bs not mentioned in stop-reply list
Luis Machado
luis.machado@arm.com
Wed Jun 28 12:14:19 GMT 2023
On 6/28/23 13:06, Matheus Tavares Bernardino via Gdb wrote:
> Hi,
>
> The remote protocol docs for stop-reply [1] has a list of commands
> that accept stop-reply packets as a response:
>
> "The 'C', 'c', 'S', 's', 'vCont', 'vAttach', 'vRun', 'vStopped', and
> '?' packets can receive any of the below as a reply."
>
> However, at the definition of 'bc' and 'bs' [2], it's also said:
>
> "Reply: See Stop Reply Packets, for the reply specifications."
>
> Maybe the list from [1] is not meant to be exhaustive, but perhaps
> 'bc' and 'bs' could be added to it?
>
> [1]: https://sourceware.org/gdb/onlinedocs/gdb/Stop-Reply-Packets.html
> [2]: https://sourceware.org/gdb/onlinedocs/gdb/Packets.html#Packets
>
> Thanks,
> Matheus
It seems those two commands actions, bc (backwards continue) and bs (backwards step), were never implemented in gdbserver.
I wasn't aware they existed at all. The fact they are not properly documented might mean they aren't actually used that much.
Do you have a remote debugging stub that can do reverse continue/step over the RSP?
More information about the Gdb
mailing list