From 5f4026606b2aa30f26693426c8777728d5eff89e Mon Sep 17 00:00:00 2001 From: Ulrich Weigand Date: Fri, 30 Mar 2007 01:18:17 +0000 Subject: 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. --- gdb/inferior.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'gdb/inferior.h') 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); -- cgit v1.1