* 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.
This commit is contained in:
Andrew Cagney 2001-06-29 01:19:23 +00:00
parent 5e91c3b431
commit a80163397d
6 changed files with 28 additions and 32 deletions

View 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.

View 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

View File

@ -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

View File

@ -37,13 +37,14 @@
#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. */

View File

@ -23,6 +23,13 @@
#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>

View File

@ -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
/*