summaryrefslogtreecommitdiffstats
path: root/gdb/xm-i386v4.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-i386v4.h
parentee0613d186dc9956209bd99f3f5f86ad8069366f (diff)
downloadppe42-binutils-5b0267410c98352699276c84743fbf814a62479f.tar.gz
ppe42-binutils-5b0267410c98352699276c84743fbf814a62479f.zip
* 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-i386v4.h')
-rw-r--r--gdb/xm-i386v4.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/gdb/xm-i386v4.h b/gdb/xm-i386v4.h
index 85d80c833b..166850889c 100644
--- a/gdb/xm-i386v4.h
+++ b/gdb/xm-i386v4.h
@@ -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
OpenPOWER on IntegriCloud