diff options
author | Andrew Cagney <cagney@redhat.com> | 2001-06-29 01:19:23 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2001-06-29 01:19:23 +0000 |
commit | a80163397d548b79620836b33babd525fdbe28c6 (patch) | |
tree | 6bfed4d0b6cfa13f4c529361f64f967a19da2834 /gdb/rdi-share/unixcomm.c | |
parent | 5e91c3b4311049f4ef00ded805872c282810c5c4 (diff) | |
download | gdb-a80163397d548b79620836b33babd525fdbe28c6.zip gdb-a80163397d548b79620836b33babd525fdbe28c6.tar.gz gdb-a80163397d548b79620836b33babd525fdbe28c6.tar.bz2 |
* rdi-share/unixcomm.c (SERIAL_PREFIX): Always provide a default.
* rdi-share/hostchan.h (__unix): Hack, provide a default value.
* rdi-share/host.h (__unix): Hack, define when __NetBSD__.
* TODO: Update.
* MAINTAINERS: Update. arm-elf builds.
Diffstat (limited to 'gdb/rdi-share/unixcomm.c')
-rw-r--r-- | gdb/rdi-share/unixcomm.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/gdb/rdi-share/unixcomm.c b/gdb/rdi-share/unixcomm.c index 6891c0d..0abd411 100644 --- a/gdb/rdi-share/unixcomm.c +++ b/gdb/rdi-share/unixcomm.c @@ -96,15 +96,6 @@ #define PARPORT2 "/dev/par1" #endif -#if defined (__FreeBSD__) || defined (__NetBSD__) || defined (__OpenBSD__) || defined (bsdi) -#define SERIAL_PREFIX "/dev/cuaa" -#define SERPORT1 "/dev/cuaa0" -#define SERPORT2 "/dev/cuaa1" -#define PARPORT1 "/dev/lpt0" -#define PARPORT2 "/dev/lpt1" -#endif - - #if defined(_WIN32) || defined (__CYGWIN32__) #define SERIAL_PREFIX "com" #define SERPORT1 "com1" @@ -113,6 +104,15 @@ #define PARPORT2 "lpt2" #endif +#if !defined (SERIAL_PREFIX) +#define SERIAL_PREFIX "/dev/cuaa" +#define SERPORT1 "/dev/cuaa0" +#define SERPORT2 "/dev/cuaa1" +#define PARPORT1 "/dev/lpt0" +#define PARPORT2 "/dev/lpt1" +#endif + + /* |