From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21058 invoked by alias); 21 May 2014 09:33:15 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 21047 invoked by uid 89); 21 May 2014 09:33:15 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.7 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2 X-HELO: relay1.mentorg.com Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 21 May 2014 09:33:13 +0000 Received: from svr-orw-fem-01.mgc.mentorg.com ([147.34.98.93]) by relay1.mentorg.com with esmtp id 1Wn2tZ-0004mV-9f from Yao_Qi@mentor.com ; Wed, 21 May 2014 02:33:09 -0700 Received: from SVR-ORW-FEM-02.mgc.mentorg.com ([147.34.96.206]) by svr-orw-fem-01.mgc.mentorg.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.4675); Wed, 21 May 2014 02:33:09 -0700 Received: from qiyao.dyndns.org (147.34.91.1) by svr-orw-fem-02.mgc.mentorg.com (147.34.96.168) with Microsoft SMTP Server id 14.2.247.3; Wed, 21 May 2014 02:33:08 -0700 Message-ID: <537C7242.4020306@codesourcery.com> Date: Wed, 21 May 2014 09:33:00 -0000 From: Yao Qi User-Agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 MIME-Version: 1.0 To: Pedro Alves , Subject: Re: [PATCH 3/3] [GDBserver] Make Zx/zx packet handling idempotent. References: <1398296475-27997-1-git-send-email-palves@redhat.com> <1398296475-27997-4-git-send-email-palves@redhat.com> <537C0F4A.8060708@codesourcery.com> <537C6B73.60704@redhat.com> In-Reply-To: <537C6B73.60704@redhat.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-IsSubscribed: yes X-SW-Source: 2014-05/txt/msg00464.txt.bz2 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 (齐尧)