From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1068 invoked by alias); 6 Jun 2014 09:00:31 -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 1027 invoked by uid 89); 6 Jun 2014 09:00:28 -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; Fri, 06 Jun 2014 09:00:25 +0000 Received: from svr-orw-fem-01.mgc.mentorg.com ([147.34.98.93]) by relay1.mentorg.com with esmtp id 1Wsq0b-0003f7-TJ from Yao_Qi@mentor.com ; Fri, 06 Jun 2014 02:00:21 -0700 Received: from SVR-ORW-FEM-06.mgc.mentorg.com ([147.34.97.120]) by svr-orw-fem-01.mgc.mentorg.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.4675); Fri, 6 Jun 2014 02:00:21 -0700 Received: from qiyao.dyndns.org (147.34.91.1) by SVR-ORW-FEM-06.mgc.mentorg.com (147.34.97.120) with Microsoft SMTP Server id 14.2.247.3; Fri, 6 Jun 2014 02:00:20 -0700 Message-ID: <539182B1.2010908@codesourcery.com> Date: Fri, 06 Jun 2014 09:00: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: [pushed] Don't suppress errors inserting/removing hardware breakpoints in shared libraries. References: <1398262082-12503-1-git-send-email-palves@redhat.com> <538D982A.4070404@codesourcery.com> <5390946C.6010408@redhat.com> <539130AC.2050401@codesourcery.com> <53917E96.1010607@redhat.com> In-Reply-To: <53917E96.1010607@redhat.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-IsSubscribed: yes X-SW-Source: 2014-06/txt/msg00306.txt.bz2 On 06/06/2014 04:40 PM, Pedro Alves wrote: > On 06/06/2014 04:08 AM, Yao Qi wrote: >> On 06/06/2014 12:01 AM, Pedro Alves wrote: >>> Yes, but no need to match by target, we can do like e.g., >>> gdb.base/signull.exp does, and check whether "x /b 0" manages >>> to read memory. If so, then skip the test. Any sane target with >>> an MMU will leave page 0 unmapped, so no need to look for some other >>> address. >> >> How about the patch below? >> > > OK. Thanks! > Thanks for the review. Patch is pushed in. -- Yao (齐尧)