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]

[RFA] PTRACE_ARG3_TYPE cleanup


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?

I think all other instances of this macro can go as well, but
I wouldn't be able to test these changes, so I left them. Maybe we
should just remove them as an "obvious" change.

-- 
Joel

Attachment: ARG3.diff
Description: Text document


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