mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-29 02:20:51 +00:00
* 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.
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user