Re: [PATCH 11/15] Rename functions and make nonstatic as necessary

Pedro Alves
2014-06-17T16:13:18Z

On 06/17/2014 03:12 PM, Gary Benson wrote:
> This commit renames the functions that are to be shared.
> Functions to be shared that were static are made nonstatic.
>
> gdb/
> 2014-06-17 Gary Benson <gbenson@redhat.com>
>
> * i386-nat.c (i386_show_dr): Renamed to
> i386_dr_show and made nonstatic. All uses updated.
> (i386_length_and_rw_bits): Renamed to
> i386_dr_length_and_rw_bits and made nonstatic.
> All uses updated.
> (i386_insert_aligned_watchpoint): Renamed to
> i386_dr_insert_aligned_watchpoint and made nonstatic.
> All uses updated.
> (i386_remove_aligned_watchpoint): Renamed to
> i386_dr_remove_aligned_watchpoint and made nonstatic.
> All uses updated.
> (i386_update_inferior_debug_regs): Renamed to
> i386_dr_update_inferior_debug_regs and made nonstatic.
> All uses updated.
>
> gdb/gdbserver/
> 2014-06-17 Gary Benson <gbenson@redhat.com>
>
> * i386-low.h (i386_low_insert_watchpoint): Renamed to
> i386_dr_insert_watchpoint.
> (i386_low_remove_watchpoint): Renamed to
> i386_dr_remove_watchpoint.
> (i386_low_region_ok_for_watchpoint): Renamed to
> i386_dr_region_ok_for_watchpoint.
> (i386_low_stopped_data_address): Renamed to
> i386_dr_stopped_data_address.
> (i386_low_stopped_by_watchpoint): Renamed to
> i386_dr_stopped_by_watchpoint.
> * i386-low.c (i386_show_dr): Renamed to
> i386_dr_show and made nonstatic. All uses updated.
> (i386_length_and_rw_bits): Renamed to
> i386_dr_length_and_rw_bits and made nonstatic.
> All uses updated.
> (i386_insert_aligned_watchpoint): Renamed to
> i386_dr_insert_aligned_watchpoint and made nonstatic.
> All uses updated.
> (i386_remove_aligned_watchpoint): Renamed to
> i386_dr_remove_aligned_watchpoint and made nonstatic.
> All uses updated.
> (i386_update_inferior_debug_regs): Renamed to
> i386_dr_update_inferior_debug_regs and made nonstatic.
> All uses updated.
> (i386_low_insert_watchpoint): Renamed to
> i386_dr_insert_watchpoint. All uses updated.
> (i386_low_remove_watchpoint): Renamed to
> i386_dr_remove_watchpoint. All uses updated.
> (i386_low_region_ok_for_watchpoint): Renamed to
> i386_dr_region_ok_for_watchpoint. All uses updated.
> (i386_low_stopped_data_address): Renamed to
> i386_dr_stopped_data_address. All uses updated.
> (i386_low_stopped_by_watchpoint): Renamed to
> i386_dr_stopped_by_watchpoint. All uses updated.

Most excellent. OK.

Thanks,
--
Pedro Alves