This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] [native x86 GNU/Linux] Access debug register mirror from the corresponding inferior.
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