[PATCH] Unify i386 xm.h for FreeBSD and Linux
Eli Zaretskii
eliz@is.elta.co.il
Thu Aug 2 08:24:00 GMT 2001
> Date: Tue, 31 Jul 2001 21:22:09 +0200
> From: Mark Kettenis <kettenis@wins.uva.nl>
>
> 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 <eliz@is.elta.co.il>
* 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
More information about the Gdb-patches
mailing list