Re: [PATCH 12/15] Create nat/i386-dregs.h

Pedro Alves
2014-06-17T16:48:55Z

On 06/17/2014 03:12 PM, Gary Benson wrote:
> This commit moves code to be shared from i386-{nat,low}.[ch]
> into a new file, nat/i386-dregs.h.
>
> gdb/
> 2014-06-17 Gary Benson <gbenson@redhat.com>
>
> * nat/i386-dregs.h: New file.
> * i386-nat.h (i386-dregs.h): New include.
> (DR_FIRSTADDR): Now in i386-dregs.h.
> (DR_LASTADDR): Likewise.
> (DR_NADDR): Likewise.
> (DR_STATUS): Likewise.
> (DR_CONTROL): Likewise.
> (i386_debug_reg_state): Likewise.
> * i386-nat.c (ALL_DEBUG_REGISTERS): Likewise.
>
> gdb/gdbserver/
> 2014-06-17 Gary Benson <gbenson@redhat.com>
>
> * i386-low.h (i386-dregs.h): New include.
> (DR_FIRSTADDR): Now in i386-dregs.h.
> (DR_LASTADDR): Likewise.
> (DR_NADDR): Likewise.
> (DR_STATUS): Likewise.
> (DR_CONTROL): Likewise.
> (i386_debug_reg_state): Likewise.
> (i386_dr_insert_watchpoint): Likewise.
> (i386_dr_remove_watchpoint): Likewise.
> (i386_dr_region_ok_for_watchpoint): Likewise.
> (i386_dr_stopped_data_address): Likewise.
> (i386_dr_stopped_by_watchpoint): Likewise.
> * i386-low.c (ALL_DEBUG_REGISTERS): Likewise.

This is OK.

Thanks,
--
Pedro Alves