From cf9d0fd9808c82a1d78d4120491aa9df588fd300 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Mon, 26 Oct 1998 03:26:00 +0000 Subject: * 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. --- gdb/rdi-share/unixcomm.c | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'gdb/rdi-share') 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 */ -- cgit v1.1