* xm-amix.h, xm-i386v4.h, xm-stratus.h: Define NORETURN to avoid
authorJohn Gilmore <gnu@cygnus>
Fri, 21 Feb 1992 01:40:57 +0000 (01:40 +0000)
committerJohn Gilmore <gnu@cygnus>
Fri, 21 Feb 1992 01:40:57 +0000 (01:40 +0000)
complaints about volatile functions.
* xm-sysv4.h (HAVE_MMAP):  Define.

gdb/xm-amix.h
gdb/xm-i386v4.h
gdb/xm-stratus.h
gdb/xm-sysv4.h

index ed65e3983b49ec77144aab29688fe5b562fd658f..c100f6851410552eaebf92b30861b61866ef05f1 100644 (file)
@@ -1,6 +1,6 @@
 /* Macro definitions for GDB on a Commodore Amiga running SVR4 (amix)
-   Copyright (C) 1991, Free Software Foundation, Inc.
-   Written by Fred Fish at Cygnus Support (fnf@cygint)
+   Copyright 1991, 1992 Free Software Foundation, Inc.
+   Written by Fred Fish at Cygnus Support (fnf@cygnus.com)
 
 This file is part of GDB.
 
@@ -26,3 +26,10 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
 
 #include "xm-sysv4.h"
 
+/* The native AT&T compiler for m68k/SVR4 complains about using volatile
+   to indicate functions that never return.  So shut it up by simply
+   defining away "NORETURN", which is normally defined to "volatile". */
+
+#ifndef __GNUC__
+# define NORETURN /**/
+#endif
index 85d80c833b2a70f47015aa2ac4d35427a1c4c08d..166850889cac02934ca0c46ef389cccd40d7f599 100644 (file)
@@ -1,6 +1,6 @@
 /* Macro definitions for GDB on an Intel i386 running SVR4.
-   Copyright (C) 1991, Free Software Foundation, Inc.
-   Written by Fred Fish at Cygnus Support (fnf@cygint)
+   Copyright 1991, 1992 Free Software Foundation, Inc.
+   Written by Fred Fish at Cygnus Support (fnf@cygnus.com).
 
 This file is part of GDB.
 
@@ -26,10 +26,10 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
 
 #include "xm-sysv4.h"
 
-/* The native AT&T compiler for i386/SVR4 complains about some of the
-   uses of volatile in the defs.h file.  So shut it up by simply defining
-   volatile away. */
+/* The native AT&T compiler for i386/SVR4 complains about using volatile
+   to indicate functions that never return.  So shut it up by simply
+   defining away "NORETURN", which is normally defined to "volatile". */
 
 #ifndef __GNUC__
-#define volatile /**/
+# define NORETURN /**/
 #endif
index 9ee795a07a9e4f3cf1bc7cce697afa79051bb594..11313b684b02bae4dada043d2eec80bda790d1dc 100644 (file)
@@ -1,6 +1,6 @@
 /* Macro definitions for GDB hosted on a Stratus machine.
-   Copyright (C) 1992, Free Software Foundation, Inc.
-   Contributed by Peggy Fieland (pfieland@stratus.com)
+   Copyright 1992 Free Software Foundation, Inc.
+   Contributed by Peggy Fieland (pfieland@stratus.com).
 
 This file is part of GDB.
 
@@ -25,5 +25,13 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
 /* Pick up more stuff from the generic SVR4 host include file. */
 
 #include "xm-svr4.h"
-#define NOVOLVOID 1 /* compiler doesn't like volatile void declaration on functions*/
+
+/* The native compiler complains about using volatile to indicate functions
+   that never return.  So shut it up by simply defining away "NORETURN", which
+   is normally defined to "volatile". */
+
+#ifndef __GNUC__
+# define NORETURN /**/
+#endif
+
 #define NO_JOB_CONTROL
index 8f317431d9691966f1c749002d2856533381690f..35c831da320e725c4a4a59932f97f36d94473afc 100644 (file)
@@ -1,6 +1,6 @@
 /* Definitions for running gdb on a host machine running any flavor of SVR4.
-   Copyright (C) 1991, Free Software Foundation, Inc.
-   Written by Fred Fish at Cygnus Support (fnf@cygint)
+   Copyright 1991, 1992 Free Software Foundation, Inc.
+   Written by Fred Fish at Cygnus Support (fnf@cygnus.com).
 
 This file is part of GDB.
 
@@ -30,6 +30,10 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
 
 #define HAVE_TERMIO
 
+/* SVR4 has mmap facilities */
+
+#define HAVE_MMAP
+
 /* TIOCGETC and TIOCGLTC are picked up somewhere, but struct tchars
    and struct ltchars are not.  This makes problems for inflow.c.
    It is unknown at this time if this is a generic SVR4 problem or
This page took 0.026308 seconds and 4 git commands to generate.