aboutsummaryrefslogtreecommitdiff
path: root/gdb/rdi-share
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>1998-10-26 03:26:00 +0000
committerAndrew Cagney <cagney@redhat.com>1998-10-26 03:26:00 +0000
commitcf9d0fd9808c82a1d78d4120491aa9df588fd300 (patch)
treea1c20c5c5b4ccea6f0644e0cbb7e56eedfd4fd03 /gdb/rdi-share
parentd5556e2ab7947b84006b33be599f8faf093b3bd3 (diff)
downloadgdb-cf9d0fd9808c82a1d78d4120491aa9df588fd300.zip
gdb-cf9d0fd9808c82a1d78d4120491aa9df588fd300.tar.gz
gdb-cf9d0fd9808c82a1d78d4120491aa9df588fd300.tar.bz2
* config/rs6000/aix4.mh (NATDEPFILES): Move xcoffread.o from here.
* config/rs6000/aix4.mt (TDEPFILES): To here. * rdi-share/unixcomm.c: Provide definitions of SERPORT and PARPORT on BSD hosts.
Diffstat (limited to 'gdb/rdi-share')
-rw-r--r--gdb/rdi-share/unixcomm.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/gdb/rdi-share/unixcomm.c b/gdb/rdi-share/unixcomm.c
index 400d1fd..7c2183d 100644
--- a/gdb/rdi-share/unixcomm.c
+++ b/gdb/rdi-share/unixcomm.c
@@ -88,6 +88,14 @@
#define PARPORT2 "/dev/par1"
#endif
+#if defined (__FreeBSD__) || defined (__NetBSD__) || defined (__OpenBSD__) || defined (bsdi)
+#define SERPORT1 "/dev/cuaa0"
+#define SERPORT2 "/dev/cuaa1"
+#define PARPORT1 "/dev/lpt0"
+#define PARPORT2 "/dev/lpt1"
+#endif
+
+
#define SERIAL_PREFIX "/dev/tty"
#if defined(_WIN32) || defined (__CYGWIN32__)
#define SERPORT1 "com1"
@@ -98,6 +106,8 @@
#define SERIAL_PREFIX "com"
#endif
+
+
/*
* Parallel port output pins, used for signalling to target
*/