This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 3/3] [GDBserver] Make Zx/zx packet handling idempotent.
- From: Yao Qi <yao at codesourcery dot com>
- To: Pedro Alves <palves at redhat dot com>, <gdb-patches at sourceware dot org>
- Date: Wed, 21 May 2014 17:30:42 +0800
- Subject: Re: [PATCH 3/3] [GDBserver] Make Zx/zx packet handling idempotent.
- Authentication-results: sourceware.org; auth=none
- References: <1398296475-27997-1-git-send-email-palves at redhat dot com> <1398296475-27997-4-git-send-email-palves at redhat dot com> <537C0F4A dot 8060708 at codesourcery dot com> <537C6B73 dot 60704 at redhat dot com>
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 (éå)