aboutsummaryrefslogtreecommitdiff
path: root/gdb/inferior.h
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/inferior.h
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/inferior.h')
-rw-r--r--gdb/inferior.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/inferior.h b/gdb/inferior.h
index 6e6ee90..fee4bca 100644
--- a/gdb/inferior.h
+++ b/gdb/inferior.h
@@ -237,10 +237,10 @@ int ptrace_wait (ptid_t, int *);
extern void child_resume (ptid_t, int, enum target_signal);
#ifndef PTRACE_ARG3_TYPE
-#define PTRACE_ARG3_TYPE int /* Correct definition for most systems. */
+#define PTRACE_ARG3_TYPE PTRACE_TYPE_ARG3
#endif
-extern int call_ptrace (int, int, PTRACE_TYPE_ARG3, int);
+extern int call_ptrace (int, int, PTRACE_ARG3_TYPE, int);
extern void pre_fork_inferior (void);