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]

config/i386/xm-x86_64.h; Was [RFA]: x86_64 target files


Just FYI, I'm trying to eliminate the need for xm files such as.

 > * config/i386/xm-x86_64.h: New file.

however for the moment we've still got them, so notes below:

 > + /* Need R_OK etc, but USG isn't defined.  */
 > + #include <unistd.h>

I think this bit is wrong.  It should be handled by autoconf or some 
other mechanism.  If it is really really needed then the xm-* file will 
need to be renamed to something that mentions ``linux''.  There is no 
guarentee that any other OS will have the same problem.

Could you even exploit MarkK's recent cleanups and just point XM_FILE at 
config/i386/xm-i386.h?

	Andrew


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