diff options
author | John Gilmore <gnu@cygnus> | 1992-02-21 01:40:57 +0000 |
---|---|---|
committer | John Gilmore <gnu@cygnus> | 1992-02-21 01:40:57 +0000 |
commit | 5b0267410c98352699276c84743fbf814a62479f (patch) | |
tree | 052a92a727e502c402eace24140bfc24f42720fc /gdb/xm-amix.h | |
parent | ee0613d186dc9956209bd99f3f5f86ad8069366f (diff) | |
download | gdb-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-amix.h')
-rw-r--r-- | gdb/xm-amix.h | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/gdb/xm-amix.h b/gdb/xm-amix.h index ed65e39..c100f68 100644 --- a/gdb/xm-amix.h +++ b/gdb/xm-amix.h @@ -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 |