aboutsummaryrefslogtreecommitdiff
path: root/gdb/29k-share
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1993-11-03 21:33:13 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1993-11-03 21:33:13 +0000
commit021a5c6b014172a7261e8b080ebc049d6a60a200 (patch)
tree64201975a0d0dce7530e4dfa57c3214cc941c081 /gdb/29k-share
parent3c292c5a46f52e118c78576bad7d972c3711fe54 (diff)
downloadfsf-binutils-gdb-021a5c6b014172a7261e8b080ebc049d6a60a200.zip
fsf-binutils-gdb-021a5c6b014172a7261e8b080ebc049d6a60a200.tar.gz
fsf-binutils-gdb-021a5c6b014172a7261e8b080ebc049d6a60a200.tar.bz2
Merge changes for dos x udi:
* Makefile.in (udi2go32.o): add rule to build this file * 29k-share/udi/udi2go32.c: new file * config/a29k/a29k-udi.mt: add udi2go32.o * 29k-share/udi/{udr.c, udip2soc.c}: #ifdef out the entire file if __GO32__ is defined. What a hack.
Diffstat (limited to 'gdb/29k-share')
-rw-r--r--gdb/29k-share/udi/udip2soc.c4
-rw-r--r--gdb/29k-share/udi/udr.c4
2 files changed, 8 insertions, 0 deletions
diff --git a/gdb/29k-share/udi/udip2soc.c b/gdb/29k-share/udi/udip2soc.c
index d0547da..96ae2e3 100644
--- a/gdb/29k-share/udi/udip2soc.c
+++ b/gdb/29k-share/udi/udip2soc.c
@@ -24,6 +24,9 @@ static char udip2soc_c_AMD[]="@(#)udip2soc.c 2.8, AMD";
* It is used by DFE client processes
********************************************************************** HISTORY
*/
+/* This is all unneeded on DOS machines. */
+#ifndef __GO32__
+
#include <stdio.h>
#include <string.h>
@@ -1245,3 +1248,4 @@ UDIUInt32 UDIGetDFEIPCId()
{
return ((company_c << 16) + (product_c << 12) + version_c);
}
+#endif /* __GO32__ */
diff --git a/gdb/29k-share/udi/udr.c b/gdb/29k-share/udi/udr.c
index 1e58eda..4722a4f 100644
--- a/gdb/29k-share/udi/udr.c
+++ b/gdb/29k-share/udi/udr.c
@@ -26,6 +26,9 @@ static char udr_c_AMD[]="@(#)udr.c 2.3, AMD";
* and de-serialised back into the approproiate objects.
********************************************************************** HISTORY
*/
+/* This is all unneeded on DOS machines. */
+#ifndef __GO32__
+
#include <stdio.h>
#include <sys/types.h>
@@ -421,3 +424,4 @@ int size;
offset = offset & (size -1);
if(offset) udr_setpos(udrs, align + offset);
}
+#endif /* __GO32__ */