From 021a5c6b014172a7261e8b080ebc049d6a60a200 Mon Sep 17 00:00:00 2001 From: Jim Kingdon Date: Wed, 3 Nov 1993 21:33:13 +0000 Subject: 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. --- gdb/29k-share/udi/udip2soc.c | 4 ++++ gdb/29k-share/udi/udr.c | 4 ++++ 2 files changed, 8 insertions(+) (limited to 'gdb/29k-share') 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 #include @@ -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 #include @@ -421,3 +424,4 @@ int size; offset = offset & (size -1); if(offset) udr_setpos(udrs, align + offset); } +#endif /* __GO32__ */ -- cgit v1.1