C++ keyword cleanliness, mostly auto-generated
This patch renames symbols that happen to have names which are reserved keywords in C++. Most of this was generated with Tromey's cxx-conversion.el script. Some places where later hand massaged a bit, to fix formatting, etc. And this was rebased several times meanwhile, along with re-running the script, so re-running the script from scratch probably does not result in the exact same output. I don't think that matters anyway. gdb/ 2015-02-27 Tom Tromey <tromey@redhat.com> Pedro Alves <palves@redhat.com> Rename symbols whose names are reserved C++ keywords throughout. gdb/gdbserver/ 2015-02-27 Tom Tromey <tromey@redhat.com> Pedro Alves <palves@redhat.com> Rename symbols whose names are reserved C++ keywords throughout.
This commit is contained in:
parent
3bc3d82a00
commit
fe978cb071
99 changed files with 1140 additions and 1127 deletions
|
@ -690,7 +690,7 @@ x86_insert_point (enum raw_bkpt_type type, CORE_ADDR addr,
|
|||
enum target_hw_bp_type hw_type
|
||||
= raw_bkpt_type_to_target_hw_bp_type (type);
|
||||
struct x86_debug_reg_state *state
|
||||
= &proc->private->arch_private->debug_reg_state;
|
||||
= &proc->priv->arch_private->debug_reg_state;
|
||||
|
||||
return x86_dr_insert_watchpoint (state, hw_type, addr, size);
|
||||
}
|
||||
|
@ -719,7 +719,7 @@ x86_remove_point (enum raw_bkpt_type type, CORE_ADDR addr,
|
|||
enum target_hw_bp_type hw_type
|
||||
= raw_bkpt_type_to_target_hw_bp_type (type);
|
||||
struct x86_debug_reg_state *state
|
||||
= &proc->private->arch_private->debug_reg_state;
|
||||
= &proc->priv->arch_private->debug_reg_state;
|
||||
|
||||
return x86_dr_remove_watchpoint (state, hw_type, addr, size);
|
||||
}
|
||||
|
@ -733,7 +733,7 @@ static int
|
|||
x86_stopped_by_watchpoint (void)
|
||||
{
|
||||
struct process_info *proc = current_process ();
|
||||
return x86_dr_stopped_by_watchpoint (&proc->private->arch_private->debug_reg_state);
|
||||
return x86_dr_stopped_by_watchpoint (&proc->priv->arch_private->debug_reg_state);
|
||||
}
|
||||
|
||||
static CORE_ADDR
|
||||
|
@ -741,7 +741,7 @@ x86_stopped_data_address (void)
|
|||
{
|
||||
struct process_info *proc = current_process ();
|
||||
CORE_ADDR addr;
|
||||
if (x86_dr_stopped_data_address (&proc->private->arch_private->debug_reg_state,
|
||||
if (x86_dr_stopped_data_address (&proc->priv->arch_private->debug_reg_state,
|
||||
&addr))
|
||||
return addr;
|
||||
return 0;
|
||||
|
@ -786,7 +786,7 @@ x86_linux_prepare_to_resume (struct lwp_info *lwp)
|
|||
int pid = ptid_get_pid (ptid);
|
||||
struct process_info *proc = find_process_pid (pid);
|
||||
struct x86_debug_reg_state *state
|
||||
= &proc->private->arch_private->debug_reg_state;
|
||||
= &proc->priv->arch_private->debug_reg_state;
|
||||
|
||||
x86_linux_dr_set (ptid, DR_CONTROL, 0);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue