This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 10/15] Abstract i386_dr_low access


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]