From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eli Zaretskii To: kettenis@wins.uva.nl Cc: gdb-patches@sources.redhat.com Subject: Re: [PATCH] Unify i386 xm.h for FreeBSD and Linux Date: Thu, 02 Aug 2001 08:24:00 -0000 Message-id: <200108021520.SAA04555@is.elta.co.il> References: <200107311922.f6VJM9j21912@delius.kettenis.local> X-SW-Source: 2001-08/msg00034.html > Date: Tue, 31 Jul 2001 21:22:09 +0200 > From: Mark Kettenis > > This unifies the Linux and FreeBSD host configs. The idea of course > is that xm-i386.h can be used by most of the other i386 hosts too. > > Checked in on mailine only. Thanks, Mark. I committed today (head only) a corresponding change for xm-go32.h. I attach it below, FYI. Btw, why did you decide to define HOST_FLOAT_FORMAT and HOST_DOUBLE_FORMAT explicitly? The defaults are on defs.h, and they are identical to what you did. Any reason for that? 2001-08-02 Eli Zaretskii * config/i386/xm-go32.h: Include xm-i386.h. (HOST_BYTE_ORDER, HOST_LONG_DOUBLE_FORMAT): Remove definitions. --- gdb/config/i386/xm-go32.h~0 Thu Jul 5 17:01:30 2001 +++ gdb/config/i386/xm-go32.h Thu Aug 2 17:30:36 2001 @@ -18,14 +18,9 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#define HOST_BYTE_ORDER LITTLE_ENDIAN - +#include "i386/xm-i386.h" #include "fopen-bin.h" #define GDBINIT_FILENAME "gdb.ini" - #define CRLF_SOURCE_FILES - #define DIRNAME_SEPARATOR ';' - -#define HOST_LONG_DOUBLE_FORMAT &floatformat_i387_ext