This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFA] PTRACE_ARG3_TYPE cleanup


   Date: Wed, 1 Sep 2004 13:30:48 -0700
   From: Joel Brobecker <brobecker@gnat.com>

   Removing some #defines that are no longer necessary, thanks to
   inferior.h and configure:

	   #ifndef PTRACE_ARG3_TYPE
	   #define PTRACE_ARG3_TYPE PTRACE_TYPE_ARG3
	   #endif

   (PTRACE_TYPE_ARG3 is set to the right type by configure).

   2004-09-01  Joel Brobecker  <brobecker@gnat.com>

	   * config/alpha/nm-osf.h (PTRACE_ARG3_TYPE): Remove define.
	   * config/pa/nm-hppah.h (PTRACE_ARG3_TYPE): Likewise.
	   * config/powerpc/nm-aix.h (PTRACE_ARG3_TYPE): Likewise.

   Tested on alpha-tru64 5.1a, pa-hpux 11.00, and ppc-aix 5.1.
   OK to apply?

Unfortunately not.  The HP-UX changes aren't correct, because of the
pretend-that-ttrace-is-ptrace maddness in the HP-UX-specific files.  I
haven't found the time to sort that out properly yet :-(.

The OSF/1 and AIX changes are OK though.

Mark


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]