* config/rs6000.mh: Get rid of -Dfd_set=int crock.
authorStu Grossman <grossman@cygnus>
Tue, 16 Mar 1993 18:15:25 +0000 (18:15 +0000)
committerStu Grossman <grossman@cygnus>
Tue, 16 Mar 1993 18:15:25 +0000 (18:15 +0000)
This is defined in defs.h if necessary.
* vx-share/vxWorks.h:  Remove #defs of min and max.
* vx-share/xdr_ld.c, vx-share/xdr_ptrace.c,
vx-share/xdr_rdb.c:  include defs.h.

gdb/ChangeLog
gdb/config/rs6000.mh
gdb/vx-share/vxWorks.h
gdb/vx-share/xdr_ld.c
gdb/vx-share/xdr_ptrace.c
gdb/vx-share/xdr_rdb.c

index a99bfc720832f428927194e8ed7d1a0ffb03bea1..6471567f3430c4ea28006b35119bc8fdbede9108 100644 (file)
@@ -1,3 +1,11 @@
+Tue Mar 16 10:09:05 1993  Stu Grossman  (grossman@cygnus.com)
+
+       * config/rs6000.mh:  Get rid of -Dfd_set=int crock.
+       This is defined in defs.h if necessary.
+       * vx-share/vxWorks.h:  Remove #defs of min and max.
+       * vx-share/xdr_ld.c, vx-share/xdr_ptrace.c,
+       vx-share/xdr_rdb.c:  include defs.h.
+
 Fri Mar 12 09:33:23 1993  Jim Kingdon  (kingdon@cygnus.com)
 
        * xcoffread.c (retrieve_tracebackinfo): Move assignment out
index 6268571a7217cb9aaaca0bf5143d7fe0acf89d80..a4037eb1152b73e148f0a78d86a21ee25ed6e62b 100644 (file)
@@ -26,14 +26,6 @@ NATDEPFILES= fork-child.o infptrace.o inftarg.o corelow.o rs6000-nat.o xcoffread
 # We have no idea who our current compiler is though, so we skip it.
 # MH_CFLAGS = -bnodelcsect
 
-# The IBM version of /usr/include/rpc/rpc.h has a bug -- it says
-# `extern fd_set svc_fdset;' without ever defining the type fd_set.
-# Unfortunately this occurs in the vx-share code, which is not configured
-# like the rest of GDB (e.g. it doesn't include "defs.h").
-# We circumvent this bug by #define-ing fd_set here, but undefining it in
-# the xm-rs6000.h file before ordinary modules try to use it.  FIXME, IBM!
-MH_CFLAGS=-Dfd_set=int
-
 # Because of shared libraries, we risk ending up with *two*
 # incompatible versions of malloc if we use GNU malloc ...
 MMALLOC_LIB = 
index 5a915f654b690f540d33e0553a11de0097f15c39..8ce167bb8631ef6c013c0c104b0783debd808d4b 100644 (file)
@@ -161,10 +161,6 @@ modification history
 
 #define FOREVER        for (;;)
 
-#define max(x, y)      (((x) < (y)) ? (y) : (x))
-#define min(x, y)      (((x) < (y)) ? (x) : (y))
-
-
 /* storage class specifier definitions */
 
 #define FAST   register
index 3572154ca8954c3a4ce35d559720159be58bbbfc..f849505969dd593fb8d5d6efbb78554d189aec39 100644 (file)
@@ -17,6 +17,7 @@ for object files that are downloaded to VxWorks.  They are used by
 remote debuggers that use RPC (such as dbxWorks and vxGdb).
 */
 
+#include "defs.h"
 #include "vxWorks.h"
 #include "rpc/rpc.h"
 #include "xdr_ld.h"
index 3d104643a1a687406faf1acdac690e25d98d633a..6c9c8a2f3fc932f415b5f5df05021587ad8d53e4 100644 (file)
@@ -13,6 +13,7 @@ modification history
 01a,05jun90,llk  extracted from xdr_ptrace.h, version 01c.
 */
 
+#include "defs.h"
 #include "vxWorks.h"
 #include <rpc/rpc.h>
 #include "xdr_ptrace.h"
index cc0e533d9a5c2a0e05dca6c8e8389ade2016307a..0520f7f6e7a78b3bcf2fbe8b7c28fe27b04dc782 100644 (file)
@@ -16,6 +16,7 @@ This module contains the eXternal Data Representation (XDR) routines
 for the RDB interface for VxWorks.
 */
 
+#include "defs.h"
 #include "vxWorks.h"
 #include <rpc/rpc.h>
 #include "xdr_rdb.h"
This page took 0.02926 seconds and 4 git commands to generate.