aboutsummaryrefslogtreecommitdiff
path: root/gdb/xm-stratus.h
diff options
context:
space:
mode:
authorJohn Gilmore <gnu@cygnus>1992-02-21 01:40:57 +0000
committerJohn Gilmore <gnu@cygnus>1992-02-21 01:40:57 +0000
commit5b0267410c98352699276c84743fbf814a62479f (patch)
tree052a92a727e502c402eace24140bfc24f42720fc /gdb/xm-stratus.h
parentee0613d186dc9956209bd99f3f5f86ad8069366f (diff)
downloadgdb-5b0267410c98352699276c84743fbf814a62479f.zip
gdb-5b0267410c98352699276c84743fbf814a62479f.tar.gz
gdb-5b0267410c98352699276c84743fbf814a62479f.tar.bz2
* xm-amix.h, xm-i386v4.h, xm-stratus.h: Define NORETURN to avoid
complaints about volatile functions. * xm-sysv4.h (HAVE_MMAP): Define.
Diffstat (limited to 'gdb/xm-stratus.h')
-rw-r--r--gdb/xm-stratus.h14
1 files changed, 11 insertions, 3 deletions
diff --git a/gdb/xm-stratus.h b/gdb/xm-stratus.h
index 9ee795a..11313b6 100644
--- a/gdb/xm-stratus.h
+++ b/gdb/xm-stratus.h
@@ -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