summaryrefslogtreecommitdiff
path: root/gdb/gdbserver/linux-arm-low.c
diff options
context:
space:
mode:
authorLuis Machado <luisgpm@br.ibm.com>2013-08-14 02:22:19 +0000
committerLuis Machado <luisgpm@br.ibm.com>2013-08-14 02:22:19 +0000
commitbda1f2d5ad0ce616040f0966e476961fff9501e6 (patch)
tree7477e65910ab5375b76d986b04bbf1f1d22b1bae /gdb/gdbserver/linux-arm-low.c
parentf11355035ce867940686d35f527a4e3fef7f7896 (diff)
downloadgdb-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.c8
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");