aboutsummaryrefslogtreecommitdiff
path: root/gdb/vx-share
diff options
context:
space:
mode:
authorStu Grossman <grossman@cygnus>1993-03-16 18:15:25 +0000
committerStu Grossman <grossman@cygnus>1993-03-16 18:15:25 +0000
commite829d98374e0977ca0a51195b6005088a7cc6e00 (patch)
tree7f6a7959194f8a03596a659f3cad28e7c6559090 /gdb/vx-share
parenta2df03aa683da91336499d0b98ed70a9f53fbf18 (diff)
downloadgdb-e829d98374e0977ca0a51195b6005088a7cc6e00.zip
gdb-e829d98374e0977ca0a51195b6005088a7cc6e00.tar.gz
gdb-e829d98374e0977ca0a51195b6005088a7cc6e00.tar.bz2
* 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.
Diffstat (limited to 'gdb/vx-share')
-rw-r--r--gdb/vx-share/vxWorks.h4
-rw-r--r--gdb/vx-share/xdr_ld.c1
-rw-r--r--gdb/vx-share/xdr_ptrace.c1
-rw-r--r--gdb/vx-share/xdr_rdb.c1
4 files changed, 3 insertions, 4 deletions
diff --git a/gdb/vx-share/vxWorks.h b/gdb/vx-share/vxWorks.h
index 5a915f6..8ce167b 100644
--- a/gdb/vx-share/vxWorks.h
+++ b/gdb/vx-share/vxWorks.h
@@ -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
diff --git a/gdb/vx-share/xdr_ld.c b/gdb/vx-share/xdr_ld.c
index 3572154..f849505 100644
--- a/gdb/vx-share/xdr_ld.c
+++ b/gdb/vx-share/xdr_ld.c
@@ -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"
diff --git a/gdb/vx-share/xdr_ptrace.c b/gdb/vx-share/xdr_ptrace.c
index 3d10464..6c9c8a2 100644
--- a/gdb/vx-share/xdr_ptrace.c
+++ b/gdb/vx-share/xdr_ptrace.c
@@ -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"
diff --git a/gdb/vx-share/xdr_rdb.c b/gdb/vx-share/xdr_rdb.c
index cc0e533..0520f7f 100644
--- a/gdb/vx-share/xdr_rdb.c
+++ b/gdb/vx-share/xdr_rdb.c
@@ -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"