aboutsummaryrefslogtreecommitdiff
path: root/gdb/infptrace.c
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2004-08-16 15:27:54 +0000
committerMark Kettenis <kettenis@gnu.org>2004-08-16 15:27:54 +0000
commitf8707cace9206398d6f02338fc40ba3aefb221a6 (patch)
tree810529446c1fa630e9cb2370164d2d009f10916b /gdb/infptrace.c
parent2766e5e41be86e75a23c111c78f9ae45af71c8fe (diff)
downloadgdb-f8707cace9206398d6f02338fc40ba3aefb221a6.zip
gdb-f8707cace9206398d6f02338fc40ba3aefb221a6.tar.gz
gdb-f8707cace9206398d6f02338fc40ba3aefb221a6.tar.bz2
* inferior.h (PTRACE_ARG3_TYPE): Define as PTRACE_TYPE_ARG3
instead of `int' if not already defined. (call_ptrace): Revert change that replaced PTRACE_ARG3_TYPE with PTRACE_TYPE_ARG3. * infptrace.c (call_ptrace): Revert change that replaced PTRACE_ARG3_TYPE with PTRACE_TYPE_ARG3.
Diffstat (limited to 'gdb/infptrace.c')
-rw-r--r--gdb/infptrace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/infptrace.c b/gdb/infptrace.c
index 7283b32..f95bf13 100644
--- a/gdb/infptrace.c
+++ b/gdb/infptrace.c
@@ -107,7 +107,7 @@ void _initialize_infptrace (void);
It exists so that all calls to ptrace are isolated in this
machine-dependent file. */
int
-call_ptrace (int request, int pid, PTRACE_TYPE_ARG3 addr, int data)
+call_ptrace (int request, int pid, PTRACE_ARG3_TYPE addr, int data)
{
int pt_status = 0;