From cf9d0fd9808c82a1d78d4120491aa9df588fd300 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Mon, 26 Oct 1998 03:26:00 +0000 Subject: [PATCH] * 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/ChangeLog | 15 +++++++++++++++ gdb/rdi-share/unixcomm.c | 10 ++++++++++ 2 files changed, 25 insertions(+) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 0f326627fd..455a9514e0 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,18 @@ +Thu Oct 22 09:56:55 1998 Andrew Cagney + + * config/rs6000/aix4.mh (NATDEPFILES): Move xcoffread.o from here. + * config/rs6000/aix4.mt (TDEPFILES): To here. + +Wed Oct 21 10:02:31 1998 Andrew Cagney + + * rdi-share/unixcomm.c: Provide definitions of SERPORT and PARPORT + on BSD hosts. + +1998-10-19 Jason Molenda (jsm@bugshack.cygnus.com) + + * configure.in (AM_EXEEXT): Use AC_EXEEXT instead. + * configure: Regenerated. + Sat Oct 17 17:39:23 1998 Felix Lee * core-sol2.c: #include , for sol2.7 weirdness. diff --git a/gdb/rdi-share/unixcomm.c b/gdb/rdi-share/unixcomm.c index 400d1fdf5b..7c2183de3e 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 */