* configure.in, tm-amix.h, tm-i386v4.h, xm-amix.h, xm-i386v4.h:
authorFred Fish <fnf@specifix.com>
Fri, 20 Dec 1991 19:44:16 +0000 (19:44 +0000)
committerFred Fish <fnf@specifix.com>
Fri, 20 Dec 1991 19:44:16 +0000 (19:44 +0000)
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").

gdb/ChangeLog
gdb/configure.in
gdb/tm-amix.h
gdb/tm-i386v4.h
gdb/utils.c
gdb/xm-amix.h
gdb/xm-i386v4.h

index caeea1d10ea76badfa0fbd97000cbeb593071d23..c2bbb337a2e4d13fdfbd0483703405c41696bcf8 100644 (file)
@@ -1,3 +1,14 @@
+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.
index 6ea5ce0dc7cbef24b46890c829c9f593764397ef..fe74bd2e82338b7b5ddc836471746eb42a2d4366 100644 (file)
@@ -22,7 +22,7 @@ m68k)
        cbm)
                case ${host_os} in
                amigados)       gdb_host=amigados ;;
-               svr4)           gdb_host=amix ;;
+               sysv4*)         gdb_host=amix ;;
                esac
                ;;
 
@@ -86,9 +86,9 @@ i386)
        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
                ;;
@@ -155,7 +155,7 @@ m68k)
        cbm)
                case ${target_os} in
                amigados)       gdb_host=amigados ;;
-               svr4)           gdb_target=amix ;;
+               sysv4*)         gdb_target=amix ;;
                esac
                ;;
        hp)
@@ -243,9 +243,9 @@ i386)
        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 ;;
index 635d3b38efb19cb9aee20834067ed362f5fd0c65..e13fc895301fbe2de3242bb6f63376d276ef17be 100644 (file)
@@ -43,5 +43,5 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
 
 #define FRAME_CHAIN_VALID_ALTERNATE
 
-#include "tm-svr4.h"
+#include "tm-sysv4.h"
 #include "tm-68k.h"
index 33bb75fb607c6e771f80d14e5a3f0d635e552aba..244e43ea4c66025abc42eef75de074787900395a 100644 (file)
@@ -28,9 +28,14 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
  */
 #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.  */
 
index bffa2ee9bdbdf1c730731fee50a3048a658aaaae..ab48cec6aafe443de07e66cf27fceaf0dfc57803 100644 (file)
@@ -45,9 +45,6 @@ extern char *realloc();
 #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.  */
 
@@ -213,7 +210,7 @@ warning (va_alist)
    and the remaining args are passed as arguments to it.  */
 
 /* VARARGS */
-void
+volatile void
 error (va_alist)
      va_dcl
 {
@@ -238,7 +235,7 @@ error (va_alist)
    The arguments are printed a la printf.  */
 
 /* VARARGS */
-void
+volatile void
 fatal (va_alist)
      va_dcl
 {
index cf55ce10e0d5ad7aa7da938612c21c26b7e47e4c..ed65e3983b49ec77144aab29688fe5b562fd658f 100644 (file)
@@ -24,5 +24,5 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
 
 /* Pick up more stuff from the generic SVR4 host include file. */
 
-#include "xm-svr4.h"
+#include "xm-sysv4.h"
 
index 0b54b59fe75443325f31eafcefd2da0f65e426b1..85d80c833b2a70f47015aa2ac4d35427a1c4c08d 100644 (file)
@@ -24,5 +24,12 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
 
 /* 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
This page took 0.03157 seconds and 4 git commands to generate.