aboutsummaryrefslogtreecommitdiff
path: root/gdb/29k-share/udi/udr.c
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/udi/udr.c
parent3c292c5a46f52e118c78576bad7d972c3711fe54 (diff)
downloadgdb-021a5c6b014172a7261e8b080ebc049d6a60a200.zip
gdb-021a5c6b014172a7261e8b080ebc049d6a60a200.tar.gz
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/udi/udr.c')
-rw-r--r--gdb/29k-share/udi/udr.c4
1 files changed, 4 insertions, 0 deletions
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__ */