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: [RFC/AIX] xm-aix4.h - Remove FIVE_ARG_PTRACE & USE_O_NOCTTY defines


   Date: Sat, 7 Aug 2004 21:49:44 -0700
   From: Joel Brobecker <brobecker@gnat.com>

config/xm-aix4.h has the following definitions:

| #define FIVE_ARG_PTRACE

This one really belongs in a nm.h file.  How about moving it to
rs6000/nm-rs6000.h.

Joel's correct here.


ptrace(), just like printf, "double", or <string.h>, is just another host function that can, well at least in theory, be probed by autoconf. I'm just not sure how we can probe the attributes we need: FIVE_ARG_PTRACE, PTRACE_ARG3_TYPE, TRACE_XFER_TYPE, ...

Andrew

PS: nm*.h is also well on its way to the chopping block. It's contents have well and truely been reduced to a bunch of hacks that should be in the target/gdbarch vectors and/or autoconf.


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