* Makefile.in (OBS): Compile mipsread.c for all targets now.
authorJohn Gilmore <gnu@cygnus>
Fri, 3 Apr 1992 04:30:55 +0000 (04:30 +0000)
committerJohn Gilmore <gnu@cygnus>
Fri, 3 Apr 1992 04:30:55 +0000 (04:30 +0000)
(VERSION):  Bump to 4.4.85.
* mipsread.c:  Update for new include files.  Lint.
* tm-irix3.h, tm-mips.h:  Use new include files for ECOFF symtab.
* config/{bigmips.mt, littlemips.mt, irix3.mt, decstation.mt}:
Don't need to bring in mipsread.o specially any more.

gdb/ChangeLog
gdb/Makefile.in
gdb/mipsread.c
gdb/tm-irix3.h
gdb/tm-mips.h

index 4fc45d795a7c97dbfec871d213b6acb41be35487..9ffa704ffba00515e08682fb85c985df57590e58 100644 (file)
@@ -1,3 +1,12 @@
+Thu Apr  2 20:20:54 1992  John Gilmore  (gnu at cygnus.com)
+
+       * Makefile.in (OBS):  Compile mipsread.c for all targets now.
+       (VERSION):  Bump to 4.4.85.
+       * mipsread.c:  Update for new include files.  Lint.
+       * tm-irix3.h, tm-mips.h:  Use new include files for ECOFF symtab.
+       * config/{bigmips.mt, littlemips.mt, irix3.mt, decstation.mt}:
+       Don't need to bring in mipsread.o specially any more.
+
 Thu Apr  2 19:38:31 1992  Stu Grossman  (grossman at cygnus.com)
 
        * mipsread.c (fixup_sigtramp):  Also look for _sigtramp as a real
index d44f101a2002d24e3fc71145334990a17270b3d2..d41aa73491752d7e16edeb6142b7b52103277aba 100644 (file)
@@ -165,7 +165,7 @@ CDEPS = ${XM_CDEPS} ${TM_CDEPS} ${BFD_LIB} ${MMALLOC_LIB} ${LIBIBERTY} \
 ADD_FILES = ${REGEX} ${ALLOCA} ${XM_ADD_FILES} ${TM_ADD_FILES}
 ADD_DEPS = ${REGEX1} ${ALLOCA1} ${XM_ADD_FILES} ${TM_ADD_FILES}
 
-VERSION = 4.4.7
+VERSION = 4.4.85
 DIST=gdb
 
 LINT=/usr/5bin/lint
@@ -273,7 +273,7 @@ OBS = main.o blockframe.o breakpoint.o findvar.o stack.o source.o \
     copying.o $(DEPFILES) signame.o cplus-dem.o mem-break.o target.o \
     inftarg.o ieee-float.o putenv.o parse.o language.o $(YYOBJ) \
     buildsym.o objfiles.o minsyms.o \
-    dbxread.o coffread.o elfread.o dwarfread.o xcoffread.o mipsread.o
+    dbxread.o coffread.o elfread.o dwarfread.o xcoffread.o mipsread.o
 
 RAPP_OBS = rgdb.o rudp.o rserial.o serial.o udp.o $(XDEPFILES)
 
index 8d3010952e43396020538755a7a206f1efe7a3a4..a79006121ddb0a0410f10091760c3cfe3f386002 100644 (file)
@@ -62,6 +62,9 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
 #include <sys/stat.h>
 
 #include "coff/mips.h"
+#include "coff/sym.h"
+#include "coff/symconst.h"
+
 #include "libaout.h"           /* FIXME Secret internal BFD stuff for a.out */
 #include "aout/aout64.h"
 #include "aout/stab_gnu.h"     /* We always use GNU stabs, not native, now */
@@ -206,10 +209,10 @@ static void
 read_mips_symtab PARAMS ((struct objfile *, int));
 
 static void
-read_the_mips_symtab PARAMS ((bfd *, int, CORE_ADDR));
+read_the_mips_symtab PARAMS ((bfd *, int, CORE_ADDR *));
 
 static int
-upgrade_type PARAMS ((struct type **, int, union aux_ent *, int));
+upgrade_type PARAMS ((struct type **, int, union aux_ext *, int));
 
 static void
 parse_partial_symbols PARAMS ((int, struct objfile *));
@@ -361,7 +364,7 @@ mipscoff_symfile_finish (objfile)
 
 static PTR
 xzalloc(size)
-     int size;
+     unsigned int size;
 {
        PTR p = xmalloc(size);
 
@@ -826,6 +829,7 @@ add_pending(fh, sh, t)
 
 static void
 free_pending(f_idx)
+       int f_idx;
 {
        register struct mips_pending *p, *q;
 
@@ -900,14 +904,14 @@ parse_symbol(sh, ax, bigend)
                class = LOC_STATIC;
                b = BLOCKVECTOR_BLOCK(BLOCKVECTOR(top_stack->cur_st),
                                      GLOBAL_BLOCK);
-               s = new_symbol(sh->iss);
+               s = new_symbol((char *)sh->iss);
                SYMBOL_VALUE_ADDRESS(s) = (CORE_ADDR)sh->value;
                goto data;
 
            case stStatic:      /* static data, goes into current block. */
                class = LOC_STATIC;
                b = top_stack->cur_block;
-               s = new_symbol(sh->iss);
+               s = new_symbol((char *)sh->iss);
                SYMBOL_VALUE_ADDRESS(s) = (CORE_ADDR)sh->value;
                goto data;
 
@@ -919,7 +923,7 @@ parse_symbol(sh, ax, bigend)
                } else
                        class = LOC_LOCAL;
                b = top_stack->cur_block;
-               s = new_symbol(sh->iss);
+               s = new_symbol((char *)sh->iss);
                SYMBOL_VALUE(s) = sh->value;
 
 data:          /* Common code for symbols describing data */
@@ -965,7 +969,7 @@ data:               /* Common code for symbols describing data */
                break;
 
            case stLabel:       /* label, goes into current block */
-               s = new_symbol(sh->iss);
+               s = new_symbol((char *)sh->iss);
                SYMBOL_NAMESPACE(s) = VAR_NAMESPACE;    /* so that it can be used */
                SYMBOL_CLASS(s) = LOC_LABEL;            /* but not misused */
                SYMBOL_VALUE_ADDRESS(s) = (CORE_ADDR)sh->value;
@@ -975,7 +979,7 @@ data:               /* Common code for symbols describing data */
 
            case stProc:        /* Procedure, usually goes into global block */
            case stStaticProc:  /* Static procedure, goes into current block */
-               s = new_symbol(sh->iss);
+               s = new_symbol((char *)sh->iss);
                SYMBOL_NAMESPACE(s) = VAR_NAMESPACE;
                SYMBOL_CLASS(s) = LOC_BLOCK;
                /* Type of the return value */
@@ -1060,7 +1064,7 @@ data:             /* Common code for symbols describing data */
                    long max_value = 0;
                    struct field *f;
 
-                   s = new_symbol(sh->iss);
+                   s = new_symbol((char *)sh->iss);
                    SYMBOL_NAMESPACE(s) = STRUCT_NAMESPACE;
                    SYMBOL_CLASS(s) = LOC_TYPEDEF;
                    SYMBOL_VALUE(s) = 0;
@@ -1253,7 +1257,7 @@ data:             /* Common code for symbols describing data */
                break;
 
            case stTypedef:     /* type definition */
-               s = new_symbol(sh->iss);
+               s = new_symbol((char *)sh->iss);
                SYMBOL_NAMESPACE(s) = VAR_NAMESPACE;
                SYMBOL_CLASS(s) = LOC_TYPEDEF;
                SYMBOL_BLOCK_VALUE(s) = top_stack->cur_block;
@@ -1577,6 +1581,7 @@ upgrade_type(tpp, tq, ax, bigend)
 static void
 parse_procedure(pr, bound)
        PDR *pr;
+       int bound;
 {
        struct symbol *s, *i;
        SYMR *sh = (SYMR*)pr->isym;
index 36ea3cd06e537af10b7adbc6e000b0e888315c72..84017e034fca3c416ea37ef76b1764bcd2731eb7 100644 (file)
@@ -17,11 +17,8 @@ You should have received a copy of the GNU General Public License
 along with this program; if not, write to the Free Software
 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
 
-#ifndef LANGUAGE_C
-#define LANGUAGE_C
-#endif
-#include <sym.h>
-#include <symconst.h>
+#include "coff/sym.h"                  /* Needed for PDR below. */
+#include "coff/symconst.h"
 
 #define TARGET_BYTE_ORDER BIG_ENDIAN
 
index 7e9371f1ac8fa2a304c585ce297f748fea1f7df2..b8623d5221bbf2129651b596b78b102b76ffb57c 100644 (file)
@@ -19,11 +19,8 @@ You should have received a copy of the GNU General Public License
 along with this program; if not, write to the Free Software
 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
 
-#ifndef LANGUAGE_C
-#define LANGUAGE_C
-#endif
-#include <sym.h>
-#include <symconst.h>
+#include "coff/sym.h"          /* Needed for PDR below.  */
+#include "coff/symconst.h"
 
 #if !defined (TARGET_BYTE_ORDER)
 #define TARGET_BYTE_ORDER LITTLE_ENDIAN