Change svr4 references to sysv4.
* source.c: Move declaration of external function index to
front of file so it is in scope for all references.
* utils.c (error, fatal): Make definitions consistent with
defs.h declarations (declared as "volatile void").
+Fri Dec 20 11:36:38 1991 Fred Fish (fnf at cygnus.com)
+
+ * configure.in, tm-amix.h, tm-i386v4.h, xm-amix.h, xm-i386v4.h:
+ Change svr4 references to sysv4.
+
+ * source.c: Move declaration of external function index to
+ front of file so it is in scope for all references.
+
+ * utils.c (error, fatal): Make definitions consistent with
+ defs.h declarations (declared as "volatile void").
+
Fri Dec 20 10:55:36 1991 John Gilmore (gnu at cygnus.com)
* rs6k-opcode.h: Bugfix sfe and stbrx. By Al Kossow.
cbm)
case ${host_os} in
amigados) gdb_host=amigados ;;
- svr4) gdb_host=amix ;;
+ sysv4*) gdb_host=amix ;;
esac
;;
sequent) gdb_host=symmetry ;;
*)
case "${host_os}" in
- sysv) gdb_host=i386v ;;
sysv32) gdb_host=i386v32 ;;
- svr4) gdb_host=i386v4 ;;
+ sysv4*) gdb_host=i386v4 ;;
+ sysv*) gdb_host=i386v ;;
mach) gdb_host=i386mach ;;
esac
;;
cbm)
case ${target_os} in
amigados) gdb_host=amigados ;;
- svr4) gdb_target=amix ;;
+ sysv4*) gdb_target=amix ;;
esac
;;
hp)
sequent) gdb_target=symmetry ;;
*)
case "${target_os}" in
- sysv) gdb_target=i386v ;;
sysv32) gdb_target=i386v32 ;;
- svr4) gdb_target=i386v4 ;;
+ sysv4*) gdb_target=i386v4 ;;
+ sysv*) gdb_target=i386v ;;
mach) gdb_target=i386mach ;;
coff) gdb_target=i386v ;;
aout) gdb_target=i386aout ;;
#define FRAME_CHAIN_VALID_ALTERNATE
-#include "tm-svr4.h"
+#include "tm-sysv4.h"
#include "tm-68k.h"
*/
#define START_INFERIOR_TRAPS_EXPECTED 2
-#include "tm-svr4.h"
+/* Pick up most of what we need from the generic i386 target include file. */
+
#include "tm-i386v.h"
+/* Pick up more stuff from the generic SVR4 host include file. */
+
+#include "tm-sysv4.h"
+
/* We can't tell how many args there are
now that the C compiler delays popping them. */
#define ISATTY(FP) (isatty (fileno (FP)))
#endif
-void error ();
-void fatal ();
-
/* Chain of cleanup actions established with make_cleanup,
to be executed if an error happens. */
and the remaining args are passed as arguments to it. */
/* VARARGS */
-void
+volatile void
error (va_alist)
va_dcl
{
The arguments are printed a la printf. */
/* VARARGS */
-void
+volatile void
fatal (va_alist)
va_dcl
{
/* Pick up more stuff from the generic SVR4 host include file. */
-#include "xm-svr4.h"
+#include "xm-sysv4.h"
/* Pick up more stuff from the generic SVR4 host include file. */
-#include "xm-svr4.h"
+#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. */
+
+#ifndef __GNUC__
+#define volatile /**/
+#endif