[PATCH 3/3] [GDBserver] Make Zx/zx packet handling idempotent.

Yao Qi yao@codesourcery.com
Wed May 21 09:33:00 GMT 2014


On 05/21/2014 05:01 PM, Pedro Alves wrote:
> - GDB sends Z0
> - GDBserver asks the backend to prepare to access memory
> - GDBserver's target backend tries to stop threads or whatever
> - that fails, and GDBserver returns E01
> - GDB interprets that as:
>       "target supports Z0, but something went wrong with
>        inserting the breakpoint, say, e.g., that address is
>        unmapped?"

Oh, I remember the meaning of empty reply and error incorrectly.
It is clear to me.  Thanks!

-- 
Yao (齐尧)



More information about the Gdb-patches mailing list