diff options
author | Luis Machado <luisgpm@br.ibm.com> | 2013-08-14 02:22:19 +0000 |
---|---|---|
committer | Luis Machado <luisgpm@br.ibm.com> | 2013-08-14 02:22:19 +0000 |
commit | bda1f2d5ad0ce616040f0966e476961fff9501e6 (patch) | |
tree | 7477e65910ab5375b76d986b04bbf1f1d22b1bae /gdb/gdbserver/linux-arm-low.c | |
parent | f11355035ce867940686d35f527a4e3fef7f7896 (diff) | |
download | gdb-bda1f2d5ad0ce616040f0966e476961fff9501e6.tar.gz |
* linux-arm-low.c: Rename all occurrences of PTRACE_ARG3_TYPE
to PTRACE_TYPE_ARG3.
* linux-low.c: Rename all occurrences of PTRACE_ARG3_TYPE
to PTRACE_TYPE_ARG3 and PTRACE_ARG4_TYPE to
PTRACE_TYPE_ARG4.
* linux-low.h (PTRACE_ARG3_TYPE): Rename to PTRACE_TYPE_ARG3.
(PTRACE_ARG4_TYPE): Rename to PTRACE_TYPE_ARG4.
Diffstat (limited to 'gdb/gdbserver/linux-arm-low.c')
-rw-r--r-- | gdb/gdbserver/linux-arm-low.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/gdbserver/linux-arm-low.c b/gdb/gdbserver/linux-arm-low.c index a6b745de0a2..81461a9cd59 100644 --- a/gdb/gdbserver/linux-arm-low.c +++ b/gdb/gdbserver/linux-arm-low.c @@ -720,13 +720,13 @@ arm_prepare_to_resume (struct lwp_info *lwp) if (arm_hwbp_control_is_enabled (proc_info->bpts[i].control)) if (ptrace (PTRACE_SETHBPREGS, pid, - (PTRACE_ARG3_TYPE) ((i << 1) + 1), + (PTRACE_TYPE_ARG3) ((i << 1) + 1), &proc_info->bpts[i].address) < 0) perror_with_name ("Unexpected error setting breakpoint address"); if (arm_hwbp_control_is_initialized (proc_info->bpts[i].control)) if (ptrace (PTRACE_SETHBPREGS, pid, - (PTRACE_ARG3_TYPE) ((i << 1) + 2), + (PTRACE_TYPE_ARG3) ((i << 1) + 2), &proc_info->bpts[i].control) < 0) perror_with_name ("Unexpected error setting breakpoint"); @@ -740,13 +740,13 @@ arm_prepare_to_resume (struct lwp_info *lwp) if (arm_hwbp_control_is_enabled (proc_info->wpts[i].control)) if (ptrace (PTRACE_SETHBPREGS, pid, - (PTRACE_ARG3_TYPE) -((i << 1) + 1), + (PTRACE_TYPE_ARG3) -((i << 1) + 1), &proc_info->wpts[i].address) < 0) perror_with_name ("Unexpected error setting watchpoint address"); if (arm_hwbp_control_is_initialized (proc_info->wpts[i].control)) if (ptrace (PTRACE_SETHBPREGS, pid, - (PTRACE_ARG3_TYPE) -((i << 1) + 2), + (PTRACE_TYPE_ARG3) -((i << 1) + 2), &proc_info->wpts[i].control) < 0) perror_with_name ("Unexpected error setting watchpoint"); |