This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
config/i386/xm-x86_64.h; Was [RFA]: x86_64 target files
- To: Jiri Smid <smid at suse dot cz>
- Subject: config/i386/xm-x86_64.h; Was [RFA]: x86_64 target files
- From: Andrew Cagney <ac131313 at cygnus dot com>
- Date: Fri, 10 Aug 2001 02:11:56 -0400
- Cc: gdb-patches at sources dot redhat dot com
- References: <s8vg0baa6hb.fsf@naga.suse.cz>
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