From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10253 invoked by alias); 13 Feb 2013 14:20:01 -0000 Received: (qmail 10221 invoked by uid 22791); 13 Feb 2013 14:19:58 -0000 X-SWARE-Spam-Status: No, hits=-2.8 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_SPAMHAUS_DROP,KHOP_THREADED,RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org Received: from service87.mimecast.com (HELO service87.mimecast.com) (91.220.42.44) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 13 Feb 2013 14:19:53 +0000 Received: from cam-owa1.Emea.Arm.com (fw-tnat.cambridge.arm.com [217.140.96.21]) by service87.mimecast.com; Wed, 13 Feb 2013 14:19:51 +0000 Received: from [10.1.69.62] ([10.1.255.212]) by cam-owa1.Emea.Arm.com with Microsoft SMTPSVC(6.0.3790.0); Wed, 13 Feb 2013 14:19:50 +0000 Message-ID: <511BA106.8030103@arm.com> Date: Wed, 13 Feb 2013 14:20:00 -0000 From: Yufeng Zhang User-Agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:8.0) Gecko/20111105 Thunderbird/8.0 MIME-Version: 1.0 To: 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> In-Reply-To: <511A372F.80006@redhat.com> X-MC-Unique: 113021314195118801 Content-Type: text/plain; charset=WINDOWS-1252; format=flowed Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes 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/msg00300.txt.bz2 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 Yufeng