* 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 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.
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
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.
--
-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
#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. */
#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>
#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
+
+
/*