This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 10/15] Abstract i386_dr_low access
- From: Pedro Alves <palves at redhat dot com>
- To: Gary Benson <gbenson at redhat dot com>, gdb-patches at sourceware dot org
- Date: Tue, 17 Jun 2014 17:09:56 +0100
- Subject: Re: [PATCH 10/15] Abstract i386_dr_low access
- Authentication-results: sourceware.org; auth=none
- References: <1403014378-4349-1-git-send-email-gbenson at redhat dot com> <1403014378-4349-11-git-send-email-gbenson at redhat dot com>
On 06/17/2014 03:12 PM, Gary Benson wrote:
> This commit adds macros to abstract access to the i386_dr_low
> function vector used by i386-nat.c. The macros are named so
> as to match the names of the functions that do the same work
> in gdbserver.
>
> gdb/
> 2014-06-17 Gary Benson <gbenson@redhat.com>
>
> * i386-nat.c (i386_dr_low_can_set_addr): New macro.
> (i386_dr_low_can_set_control): Likewise.
> (i386_dr_low_set_addr): Likewise.
> (i386_dr_low_set_control): Likewise.
> (i386_dr_low_get_addr): Likewise.
> (i386_dr_low_get_status): Likewise.
> (i386_dr_low_get_control): Likewise.
> (i386_insert_aligned_watchpoint): Use new macros.
> (i386_update_inferior_debug_regs): Likewise.
> (i386_stopped_data_address): Likewise.
>
> gdb/gdbserver/
> 2014-06-17 Gary Benson <gbenson@redhat.com>
>
> * i386-low.c (i386_dr_low_can_set_addr): New macro.
> (i386_dr_low_can_set_control): Likewise.
> (i386_insert_aligned_watchpoint): New check.
OK.
Thanks,
--
Pedro Alves