diff options
author | Ulrich Weigand <uweigand@de.ibm.com> | 2007-03-30 01:18:17 +0000 |
---|---|---|
committer | Ulrich Weigand <uweigand@de.ibm.com> | 2007-03-30 01:18:17 +0000 |
commit | 5f4026606b2aa30f26693426c8777728d5eff89e (patch) | |
tree | 0b755e02737b92a8ebb805c3a4bb9d13db7a3dac /gdb/inferior.h | |
parent | bbf90c8127f2b32745545f29503a87be39e6b110 (diff) | |
download | gdb-5f4026606b2aa30f26693426c8777728d5eff89e.zip gdb-5f4026606b2aa30f26693426c8777728d5eff89e.tar.gz gdb-5f4026606b2aa30f26693426c8777728d5eff89e.tar.bz2 |
gdb/ChangeLog:
* config/alpha/nm-osf.h (PTRACE_XFER_TYPE): Remove.
* config/mips/nm-linux.h (PTRACE_ARG3_TYPE, PTRACE_XFER_TYPE): Remove.
* config/sparc/nm-linux.h (PTRACE_ARG3_TYPE, PTRACE_XFER_TYPE): Remove.
* config/powerpc/nm-ppc64-linux.h: Remove file.
* config/powerpc/ppc64-linux.mh (NATDEPFILES): Set to nm-linux.h.
* inferior.h (PTRACE_ARG3_TYPE): Do not define.
(call_ptrace): Change type of third argument to PTRACE_TYPE_ARG3.
* infptrace.c (call_ptrace): Likewise.
* m68klinux-nat.c (PTRACE_XFER_TYPE): Do not define.
(fetch_register): Replace PTRACE_ARG3_TYPE by PTRACE_TYPE_ARG3
and PTRACE_XFER_TYPE by PTRACE_TYPE_RET.
(store_register): Likewise.
gdb/doc/ChangeLog:
* gdbint.texi (Native Conditionals): Remove PTRACE_ARG3_TYPE.
Diffstat (limited to 'gdb/inferior.h')
-rw-r--r-- | gdb/inferior.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/gdb/inferior.h b/gdb/inferior.h index 4ee958a..cbfc459 100644 --- a/gdb/inferior.h +++ b/gdb/inferior.h @@ -236,11 +236,7 @@ int ptrace_wait (ptid_t, int *); extern void child_resume (ptid_t, int, enum target_signal); -#ifndef PTRACE_ARG3_TYPE -#define PTRACE_ARG3_TYPE PTRACE_TYPE_ARG3 -#endif - -extern int call_ptrace (int, int, PTRACE_ARG3_TYPE, int); +extern int call_ptrace (int, int, PTRACE_TYPE_ARG3, int); extern void pre_fork_inferior (void); |