This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFA] PTRACE_ARG3_TYPE cleanup
- From: Mark Kettenis <kettenis at gnu dot org>
- To: brobecker at gnat dot com
- Cc: gdb-patches at sources dot redhat dot com
- Date: Fri, 3 Sep 2004 17:07:24 +0200 (CEST)
- Subject: Re: [RFA] PTRACE_ARG3_TYPE cleanup
- References: <20040901203048.GF978@gnat.com>
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