From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7566 invoked by alias); 13 Feb 2013 14:51:06 -0000 Received: (qmail 7555 invoked by uid 22791); 13 Feb 2013 14:51:05 -0000 X-SWARE-Spam-Status: No, hits=-7.6 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_SPAMHAUS_DROP,KHOP_THREADED,RCVD_IN_DNSWL_HI,RCVD_IN_HOSTKARMA_W,RP_MATCHES_RCVD,SPF_HELO_PASS X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 13 Feb 2013 14:50:55 +0000 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r1DEoo1w011498 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 13 Feb 2013 09:50:51 -0500 Received: from [127.0.0.1] (ovpn01.gateway.prod.ext.ams2.redhat.com [10.39.146.11]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id r1DEonVl030545; Wed, 13 Feb 2013 09:50:50 -0500 Message-ID: <511BA848.2060406@redhat.com> Date: Wed, 13 Feb 2013 14:51:00 -0000 From: Pedro Alves User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130110 Thunderbird/17.0.2 MIME-Version: 1.0 To: Yufeng Zhang CC: gdb-patches@sourceware.org Subject: Re: [PATCH] [native x86 GNU/Linux] Access debug register mirror from the corresponding inferior. References: <20130207163339.19427.73350.stgit@brno.lan> <20130207165907.GB15297@host2.jankratochvil.net> <51195E18.1010008@redhat.com> <511A372F.80006@redhat.com> <511BA106.8030103@arm.com> In-Reply-To: <511BA106.8030103@arm.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit 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 X-SW-Source: 2013-02/txt/msg00307.txt.bz2 On 02/13/2013 02:19 PM, Yufeng Zhang wrote: > On 02/12/13 12:35, Pedro Alves wrote: >> * i386-linux-nat.c (update_debug_registers_callback): >> Update comment. >> (amd64_linux_dr_set_control, amd64_linux_dr_set_addr): Use >> iterate_over_lwps. >> (amd64_linux_prepare_to_resume): Pass the lwp's pid to >> i386_debug_reg_state. >> (amd64_linux_new_fork): New function. >> (_initialize_amd64_linux_nat): Install i386_linux_new_fork as >> linux_nat_new_fork hook, and i386_forget_process as >> linux_nat_forget_process hook. > > typo in the changelog: s/amd64/i386 Thanks. -- Pedro Alves