(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 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
Thu Apr 2 19:38:31 1992 Stu Grossman (grossman at cygnus.com)
* mipsread.c (fixup_sigtramp): Also look for _sigtramp as a real
ADD_FILES = ${REGEX} ${ALLOCA} ${XM_ADD_FILES} ${TM_ADD_FILES}
ADD_DEPS = ${REGEX1} ${ALLOCA1} ${XM_ADD_FILES} ${TM_ADD_FILES}
ADD_FILES = ${REGEX} ${ALLOCA} ${XM_ADD_FILES} ${TM_ADD_FILES}
ADD_DEPS = ${REGEX1} ${ALLOCA1} ${XM_ADD_FILES} ${TM_ADD_FILES}
DIST=gdb
LINT=/usr/5bin/lint
DIST=gdb
LINT=/usr/5bin/lint
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 \
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)
RAPP_OBS = rgdb.o rudp.o rserial.o serial.o udp.o $(XDEPFILES)
#include <sys/stat.h>
#include "coff/mips.h"
#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 */
#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 */
read_mips_symtab PARAMS ((struct objfile *, int));
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 *));
-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 *));
static void
parse_partial_symbols PARAMS ((int, struct objfile *));
static void
free_pending(f_idx)
static void
free_pending(f_idx)
{
register struct mips_pending *p, *q;
{
register struct mips_pending *p, *q;
class = LOC_STATIC;
b = BLOCKVECTOR_BLOCK(BLOCKVECTOR(top_stack->cur_st),
GLOBAL_BLOCK);
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;
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;
SYMBOL_VALUE_ADDRESS(s) = (CORE_ADDR)sh->value;
goto data;
} else
class = LOC_LOCAL;
b = top_stack->cur_block;
} 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 */
SYMBOL_VALUE(s) = sh->value;
data: /* Common code for symbols describing data */
break;
case stLabel: /* label, goes into current block */
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;
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;
case stProc: /* Procedure, usually goes into global block */
case stStaticProc: /* Static procedure, goes into current block */
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 */
SYMBOL_NAMESPACE(s) = VAR_NAMESPACE;
SYMBOL_CLASS(s) = LOC_BLOCK;
/* Type of the return value */
long max_value = 0;
struct field *f;
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;
SYMBOL_NAMESPACE(s) = STRUCT_NAMESPACE;
SYMBOL_CLASS(s) = LOC_TYPEDEF;
SYMBOL_VALUE(s) = 0;
break;
case stTypedef: /* type definition */
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;
SYMBOL_NAMESPACE(s) = VAR_NAMESPACE;
SYMBOL_CLASS(s) = LOC_TYPEDEF;
SYMBOL_BLOCK_VALUE(s) = top_stack->cur_block;
static void
parse_procedure(pr, bound)
PDR *pr;
static void
parse_procedure(pr, bound)
PDR *pr;
{
struct symbol *s, *i;
SYMR *sh = (SYMR*)pr->isym;
{
struct symbol *s, *i;
SYMR *sh = (SYMR*)pr->isym;
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
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
#define TARGET_BYTE_ORDER BIG_ENDIAN
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
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
#if !defined (TARGET_BYTE_ORDER)
#define TARGET_BYTE_ORDER LITTLE_ENDIAN