aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorDavid D. Zuhn <zoo@cygnus>1993-01-06 10:30:22 +0000
committerDavid D. Zuhn <zoo@cygnus>1993-01-06 10:30:22 +0000
commit71f555668692b85e088bce62a0d9931cc8ca842f (patch)
tree22706daabfd7a115651a8fb4d44a04e634b59c49 /gdb
parent91d2a93870234eab5a4c4e1f3ae93d9ddc7abe30 (diff)
downloadgdb-71f555668692b85e088bce62a0d9931cc8ca842f.zip
gdb-71f555668692b85e088bce62a0d9931cc8ca842f.tar.gz
gdb-71f555668692b85e088bce62a0d9931cc8ca842f.tar.bz2
handle machines other than DOS & Sun
Diffstat (limited to 'gdb')
-rw-r--r--gdb/29k-share/udi/udiphcfg.h14
1 files changed, 11 insertions, 3 deletions
diff --git a/gdb/29k-share/udi/udiphcfg.h b/gdb/29k-share/udi/udiphcfg.h
index 508e041..8a7b7f0 100644
--- a/gdb/29k-share/udi/udiphcfg.h
+++ b/gdb/29k-share/udi/udiphcfg.h
@@ -1,11 +1,19 @@
/* This file just picks the correct udiphxxx.h depending on the host */
/* The two hosts that are now defined are SUN and MSDOS */
-#ifdef sun
-#include "udiphsun.h"
-#endif
+/* The way this now works, all machines other than DOS are considered to
+ be Sun-like. This is known to work for HP700's. If this doesn't work
+ for some host, create an alternative udiphXXX.h file.
+
+ This scheme for determining which file to include is *ugly* and should be
+ fixed at some later date. -- zoo - 930106
+*/
#ifdef MSDOS
+#define CONFIG_INCLUDED
#include "udiphdos.h"
#endif
+#ifndef CONFIG_INCLUDED
+#include "udiphsun.h"
+#endif