OSDN Git Service

* rdi-share/unixcomm.c (SERIAL_PREFIX): Always provide a default.
authorAndrew Cagney <cagney@redhat.com>
Fri, 29 Jun 2001 01:19:23 +0000 (01:19 +0000)
committerAndrew Cagney <cagney@redhat.com>
Fri, 29 Jun 2001 01:19:23 +0000 (01:19 +0000)
* 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.

gdb/ChangeLog
gdb/MAINTAINERS
gdb/TODO
gdb/rdi-share/host.h
gdb/rdi-share/hostchan.h
gdb/rdi-share/unixcomm.c

index 73480eb..77e6368 100644 (file)
@@ -1,3 +1,11 @@
+2001-06-28  Andrew Cagney  <ac131313@redhat.com>
+
+       * 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.
+
 2001-06-28  Jim Blandy  <jimb@redhat.com>
 
        * d10v-tdep.c (d10v_ts2_dmap_register): Doc fix.
index ed8aa68..5597550 100644 (file)
@@ -57,7 +57,7 @@ maintainer works with the native maintainer when resolving API issues.
        arc             --target=arc-elf ,-Werror
                        Maintenance only
 
-       arm             (--target=arm-coff,arm-elf,arm-pe broken)
+       arm             --target=arm-coff,arm-elf,arm-pe -w
                        Fernando Nasser         fnasser@cygnus.com
                        Scott Bambrough         scottb@netwinder.org
 
index a8b2f53..fbced52 100644 (file)
--- a/gdb/TODO
+++ b/gdb/TODO
@@ -133,14 +133,6 @@ patch has been submitted.
 
 The following code cleanups will hopefully be applied to GDB 5.1.
 
--- 2001-03-26
-
-Resolve the build status of all broken targets as identified by the
-MAINTAINERS file.
-
-       o       arm-* vs NetBSD's lack of ``unix''
-       o       arm-* vs IRIX (see below)
-
 --
 
 Fix copyright notices.
@@ -341,18 +333,6 @@ Rename read_register{,_pid}() to read_unsigned_register{,_pid}().
 
 --
 
-Can't build IRIX -> arm GDB.
-http://sourceware.cygnus.com/ml/gdb-patches/2000-04/msg00356.html
-
-David Whedon writes:
-> Now I'm building for an embedded arm target.  If there is a way of turning
-> remote-rdi off, I couldn't find it. It looks like it gets built by default
-> in gdb/configure.tgt(line 58) Anyway, the build dies in
-> gdb/rdi-share/unixcomm.c.  SERPORT1 et. al. never get defined because we
-> aren't one of the architectures supported.
-
---
-
 Problem with weak functions
 http://sourceware.cygnus.com/ml/gdb/2000-05/msg00060.html
 
index 3c1565b..53b6568 100644 (file)
 #endif
 #endif
 
-#ifdef unix                   /* A temporary sop to older compilers */
+/* A temporary sop to older compilers */
+#if defined (__NetBSD__) || defined (unix)
 #  ifndef __unix              /* (good for long-term portability?)  */
 #    define __unix    1
 #  endif
 #endif
 
-#ifdef __unix
+#if defined(__unix)
 /* Generic unix -- hopefully a split into other variants will not be    */
 /* needed.  However, beware the 'bsd' test above and safe_toupper etc.  */
 /* which cope with backwards (pre-posix/X/open) unix compatility.       */
index b7a1cab..54afea2 100644 (file)
 #endif
 #endif
 
+/* A temporary sop to older compilers */
+#if defined (__NetBSD__) || defined (unix)
+#  ifndef __unix              /* (good for long-term portability?)  */
+#    define __unix    1
+#  endif
+#endif
+
 /* struct timeval */
 #if defined(__unix) || defined(__CYGWIN32__)
 #  include <sys/time.h>
index ee11e51..7694a31 100644 (file)
 #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"
 #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
+
+
 
 
 /*