complaints about volatile functions.
* xm-sysv4.h (HAVE_MMAP): Define.
/* 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.
#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
/* 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.
#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
/* 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.
/* 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
/* 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.
#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