binutils-gdb.git
30 years ago * config/tc-mips.c (mips_cpu): New static variable.
Ian Lance Taylor [Tue, 6 Sep 1994 15:51:09 +0000 (15:51 +0000)]
* config/tc-mips.c (mips_cpu): New static variable.
(insns_since_cache_access): New static variable.
(md_begin): Set mips_cpu as well as mips_isa.
(append_insn): If mips_cpu is 4600, require four nop instructions
between an instruction which accesses the cache and certain CACHE
instructions.  Keep track of the number of instructions seen since
an instruction which accesses the cache.
(md_parse_option): Set mips_cpu as well as mips_isa.
PR 5433.

30 years ago * mips-opc.c: Set INSN_STORE_MEMORY flag for all instructions
Ian Lance Taylor [Tue, 6 Sep 1994 15:42:11 +0000 (15:42 +0000)]
* mips-opc.c: Set INSN_STORE_MEMORY flag for all instructions
which store a value into memory.
PR 5433.

30 years ago * mips.h (INSN_STORE_MEMORY): Define.
Ian Lance Taylor [Tue, 6 Sep 1994 15:39:52 +0000 (15:39 +0000)]
* mips.h (INSN_STORE_MEMORY): Define.
PR 5433.

30 years ago * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
Peter Schauer [Tue, 6 Sep 1994 09:26:19 +0000 (09:26 +0000)]
* gdb.c++/demangle.exp (test_arm_style_demangling):  Remove
linefeed from expect pattern for repeated types with indices > 9.

30 years ago * ch-typeprint.c (chill_type_print_base): Make TYPE_CODE_RANGE
Per Bothner [Mon, 5 Sep 1994 21:47:03 +0000 (21:47 +0000)]
* ch-typeprint.c (chill_type_print_base):  Make TYPE_CODE_RANGE
case more robust.
This fixes PR 5016.

30 years agoTipos
Ian Lance Taylor [Mon, 5 Sep 1994 19:14:24 +0000 (19:14 +0000)]
Tipos

30 years ago* doc/Makefile.in (VPATH): Define using @srcdir@.
Ken Raeburn [Mon, 5 Sep 1994 11:21:16 +0000 (11:21 +0000)]
* doc/Makefile.in (VPATH): Define using @srcdir@.
(prefix, program_transform_name, exec_prefix): Use autoconf style @-substitutions.

30 years agoARM Acorn/RISCiX target and host patches from Richard Earnshaw
Ken Raeburn [Mon, 5 Sep 1994 10:53:00 +0000 (10:53 +0000)]
ARM Acorn/RISCiX target and host patches from Richard Earnshaw

30 years ago * i960-tdep.c (signal.h): Don't include.
Stan Shebs [Sun, 4 Sep 1994 23:58:48 +0000 (23:58 +0000)]
* i960-tdep.c (signal.h): Don't include.

30 years ago * gdbint.texinfo: Removed mentions of some incorrectly placed and
Stan Shebs [Sun, 4 Sep 1994 23:49:40 +0000 (23:49 +0000)]
* gdbint.texinfo: Removed mentions of some incorrectly placed and
obsolete conditionals, described some others.

30 years ago * cxux-nat.c (target_is_m88110): Remove definition.
Stan Shebs [Sun, 4 Sep 1994 23:41:20 +0000 (23:41 +0000)]
* cxux-nat.c (target_is_m88110): Remove definition.

30 years agoUpdate to reflect changes in config files
Stan Shebs [Sun, 4 Sep 1994 23:18:31 +0000 (23:18 +0000)]
Update to reflect changes in config files

30 years ago * configure.in (config/nm-empty.h): If cross only, use instead
Stan Shebs [Sun, 4 Sep 1994 23:16:22 +0000 (23:16 +0000)]
* configure.in (config/nm-empty.h): If cross only, use instead
of config/nm-trash.h.
* config/nm-trash.h: Remove.
* config/nm-empty.h: New file.
* config/i386/nm-m3.h: New file, includes config/nm-m3.h.
* config/mips/nm-m3.h: New file, includes config/nm-m3.h.
* config/m68k/nm-sysv4.h: New file, includes config/nm-sysv4.h.
* config/mips/nm-sysv4.h: New file, includes config/nm-sysv4.h.
* config/sparc/nm-sysv4.h: New file, includes config/nm-sysv4.h.

30 years ago * configure.in: Don't ln gdbtk.tcl if it's already there.
Stu Grossman [Sat, 3 Sep 1994 02:13:47 +0000 (02:13 +0000)]
* configure.in:  Don't ln gdbtk.tcl if it's already there.

30 years agoFix a typo in last change
Stan Shebs [Sat, 3 Sep 1994 01:15:15 +0000 (01:15 +0000)]
Fix a typo in last change

30 years ago* configure.in: No longer looks for nm, tm, and xm headers in
J.T. Conklin [Sat, 3 Sep 1994 00:45:30 +0000 (00:45 +0000)]
* configure.in: No longer looks for nm, tm, and xm headers in
  config/<header>; they are always in config/<cpu>/<header>.

30 years ago * objfiles.c (allocate_objfile): Add the newly-created objfile to
Stan Shebs [Sat, 3 Sep 1994 00:32:08 +0000 (00:32 +0000)]
* objfiles.c (allocate_objfile): Add the newly-created objfile to
the end of the list of objfiles, instead of at the beginning.

* xcoffread.c (allocate_include_entry): New function, abstracted
from code in record_include_begin.
(record_include_begin, record_include_end): Call it.

* blockframe.c (reinit_frame_cache): Test inferior_pid instead of
target_has_stack to decide whether to create a real stack frame
for the cache.

* coffread.c (process_coff_symbol) [CXUX_TARGET]: Ignore vendor
section.
* config/m88k/tm-cxux.h (CXUX_TARGET): Define.

* h8300-tdep.c: Include "dis-asm.h" instead of <dis-asm.h>.

30 years agoAdd gdbserve.mt.
Stu Grossman [Sat, 3 Sep 1994 00:28:05 +0000 (00:28 +0000)]
Add gdbserve.mt.

30 years agoAdd .Sanitize.
Stu Grossman [Sat, 3 Sep 1994 00:27:50 +0000 (00:27 +0000)]
Add .Sanitize.

30 years agoAdd nlm subdir.
Stu Grossman [Sat, 3 Sep 1994 00:15:20 +0000 (00:15 +0000)]
Add nlm subdir.

30 years ago * ecoff.c (add_file): Don't try to generate line numbers if the
Ian Lance Taylor [Fri, 2 Sep 1994 20:42:28 +0000 (20:42 +0000)]
* ecoff.c (add_file): Don't try to generate line numbers if the
symbol table has been frozen.

30 years ago* reloc.c (enum bfd_reloc_code_real): Rewrote definition to use new "chew"
Ken Raeburn [Fri, 2 Sep 1994 18:21:41 +0000 (18:21 +0000)]
* reloc.c (enum bfd_reloc_code_real): Rewrote definition to use new "chew"
commands for simultaneous definition of enumerator and enumerator name table.
(bfd_get_reloc_code_name): New function, for retrieving a symbolic name
associated with an enumerator.

* libbfd.h, bfd-in2.h: Regenerated.

30 years ago* config/sparc/tm-nbsd.h: Add #defines to map NetBSD struct and
J.T. Conklin [Fri, 2 Sep 1994 16:57:11 +0000 (16:57 +0000)]
* config/sparc/tm-nbsd.h: Add #defines to map NetBSD struct and
  field names into what is expected by sparc-nat.c.

30 years ago * config/unix.exp: If nm.new does not exist, use [transform nm].
Ian Lance Taylor [Fri, 2 Sep 1994 16:55:54 +0000 (16:55 +0000)]
* config/unix.exp: If nm.new does not exist, use [transform nm].
* config/default.exp: Likewise.

30 years ago * c-typeprint.c (c_typedef_print): Add missing Chill support.
Per Bothner [Fri, 2 Sep 1994 00:34:43 +0000 (00:34 +0000)]
* c-typeprint.c (c_typedef_print):  Add missing Chill support.

30 years agoCreate a .Sanitize file.
Stu Grossman [Thu, 1 Sep 1994 23:02:10 +0000 (23:02 +0000)]
Create a .Sanitize file.

30 years ago * rs6000-pinsn.c (print_insn): Use powerpc disassembler when
Stu Grossman [Thu, 1 Sep 1994 22:57:32 +0000 (22:57 +0000)]
    * rs6000-pinsn.c (print_insn):  Use powerpc disassembler when
        doing Power PC.
        * config/powerpc/tm-ppc-nw.h:  Define GDB_TARGET_POWERPC.

        * config/i386/i386lynx.mh, config/m68k/m68klynx.mh,
        config/rs6000/rs6000lynx.mh, config/sparc/sparclynx.mh:  Enable
        ser-tcp.

        * nlm/Makefile.in:  Get rid of NWSOURCE.
        * nlm/alpha-io.S (inVti, outVti):  Remove extraneous ldha's.
        * nlm/gdbserve.o:  Add dummy __main routine.
        * nlm/gdbserve.def:  Turn on debug.

30 years ago * rs6000-pinsn.c (print_insn): Use powerpc disassembler when
Stu Grossman [Thu, 1 Sep 1994 22:57:02 +0000 (22:57 +0000)]
* rs6000-pinsn.c (print_insn):  Use powerpc disassembler when
doing Power PC.
* config/powerpc/tm-ppc-nw.h:  Define GDB_TARGET_POWERPC.

* config/i386/i386lynx.mh, config/m68k/m68klynx.mh,
config/rs6000/rs6000lynx.mh, config/sparc/sparclynx.mh:  Enable
ser-tcp.

* nlm/Makefile.in:  Get rid of NWSOURCE.
* nlm/alpha-io.S (inVti, outVti):  Remove extraneous ldha's.
* nlm/gdbserve.o:  Add dummy __main routine.
* nlm/gdbserve.def:  Turn on debug.

30 years agotemporary change so that hppa doesn't build tk
Karen Christiansen [Thu, 1 Sep 1994 21:41:38 +0000 (21:41 +0000)]
temporary change so that hppa doesn't build tk

30 years ago* config/xm-nbsd.h: Don't define SET_STACK_LIMIT_HUGE; it is obsolete.
Jim Kingdon [Thu, 1 Sep 1994 19:40:11 +0000 (19:40 +0000)]
* config/xm-nbsd.h: Don't define SET_STACK_LIMIT_HUGE; it is obsolete.

30 years agoCommit again, CVS botched this last time.
J.T. Conklin [Thu, 1 Sep 1994 18:23:24 +0000 (18:23 +0000)]
Commit again, CVS botched this last time.

30 years ago* config/tm-nbsd.h: New file, support for all NetBSD targets.
J.T. Conklin [Thu, 1 Sep 1994 18:20:42 +0000 (18:20 +0000)]
* config/tm-nbsd.h: New file, support for all NetBSD targets.
* config/xm-nbsd.h: fix typo.
* config/sparc/{nm,tm,xm}-nbsd.h: New files, renamed from
  {nm,tm,xm}-sparcnbsd.h to conform to prefered file naming
  conventions.
* configure.in: (sparc-*-netbsd): use config/sparc/nbsd.m[ht].

30 years ago* config/tm-nbsd.h: New file, support for all NetBSD targets.
J.T. Conklin [Thu, 1 Sep 1994 18:17:25 +0000 (18:17 +0000)]
* config/tm-nbsd.h: New file, support for all NetBSD targets.
* config/sparc/{nm,tm,xm}-nbsd.h: New files, renamed from
  {nm,tm,xm}-sparcnbsd.h to conform to prefered file naming
  conventions.
* configure.in: (sparc-*-netbsd): use config/sparc/nbsd.m[ht].

30 years ago * gprof.h (kfromlist, ktolist, flist, Flist, elist, Elist): Make
Jeff Law [Thu, 1 Sep 1994 16:53:19 +0000 (16:53 +0000)]
* gprof.h (kfromlist, ktolist, flist, Flist, elist, Elist): Make
decls extern to keep native HP compiler quiet.

30 years ago* configure.in (*-*-netware): don't configure libg++, libio, librx, or
J.T. Conklin [Thu, 1 Sep 1994 16:42:13 +0000 (16:42 +0000)]
* configure.in (*-*-netware): don't configure libg++, libio, librx, or
  newlib.

30 years agoremove alloca stuff from atof-generic.c
Ken Raeburn [Thu, 1 Sep 1994 01:35:19 +0000 (01:35 +0000)]
remove alloca stuff from atof-generic.c

30 years ago* as.h (volatile): Don't test or define here; not needed.
Ken Raeburn [Thu, 1 Sep 1994 00:48:30 +0000 (00:48 +0000)]
* as.h (volatile): Don't test or define here; not needed.
(alloca): Replace alloca-conf.h inclusion with code recommended in autoconf
documentation.  Include config.h first.

Makefile.in (INCLUDES): Deleted last patch (using -I..).

30 years agoautoconf bug fix -- config.status exit status should be 0
Ken Raeburn [Thu, 1 Sep 1994 00:05:06 +0000 (00:05 +0000)]
autoconf bug fix -- config.status exit status should be 0

30 years agoMakefile.in (INCLUDES): Include "-I.." for libiberty/alloca-conf.h.
Ken Raeburn [Wed, 31 Aug 1994 23:51:38 +0000 (23:51 +0000)]
Makefile.in (INCLUDES): Include "-I.." for libiberty/alloca-conf.h.

30 years ago* Makefile.in (prefix, exec_prefix): Use @-subtitutions.
Ken Raeburn [Wed, 31 Aug 1994 21:50:38 +0000 (21:50 +0000)]
* Makefile.in (prefix, exec_prefix): Use @-subtitutions.

* aclocal.m4 (AC_OUTPUT_LINKS): Deleted redefinition, since autoconf 1.109 has
this fixed.
* configure.in: Don't change quote characters around AC_MSG_ERROR invocation.
Don't use AC_HEADER_STDC, since it requires running a program.  Cache
NEED_*_DECLARATION values.
* configure, conf.in: Regenerated with a modified autoconf 1.109.

30 years agoWed Aug 31 14:40:33 1994 Jason Molenda (crash@phydeaux.cygnus.com)
Jason Molenda [Wed, 31 Aug 1994 21:43:27 +0000 (21:43 +0000)]
Wed Aug 31 14:40:33 1994  Jason Molenda (crash@phydeaux.cygnus.com)

        * remote-udi.c (udi_read_inferior_memory,udi_write_inferior_memory):
        change typeo in error msg (`inferrior' -> `inferior').

30 years ago * inflow.c (set_sigint_trap, clear_sigint_trap): Check for
Jim Kingdon [Wed, 31 Aug 1994 20:42:10 +0000 (20:42 +0000)]
* inflow.c (set_sigint_trap, clear_sigint_trap): Check for
attach_flag (this check was performed by the callers).  Also check
inferior_thisrun_terminal.
* inftarg.c (child_wait), lynx-nat.c (child_wait),
procfs.c (wait_fd), symm-nat.c (child_wait): Don't check
attach_flag in deciding whether to call set_sigint_trap and
clear_sigint_trap.

30 years ago * configure.in (alpha-dec-osf*): Use osf*, not osf1*. Don't
Ian Lance Taylor [Wed, 31 Aug 1994 17:55:49 +0000 (17:55 +0000)]
* configure.in (alpha-dec-osf*): Use osf*, not osf1*.  Don't
configure ld--it works, but it doesn't support shared libraries.

30 years ago * value.h (struct value): Change literal_data from PTR to char *,
Jim Kingdon [Wed, 31 Aug 1994 16:18:50 +0000 (16:18 +0000)]
* value.h (struct value): Change literal_data from PTR to char *,
since that is the way it is used.

30 years agoAdd HP-Pro as a configuration. This is for the Pro target board line.
Rob Savoye [Wed, 31 Aug 1994 16:03:01 +0000 (16:03 +0000)]
Add HP-Pro as a configuration. This is for the Pro target board line.

30 years ago * configure.in, configure: Initialize bfd_gas to no.
Ian Lance Taylor [Wed, 31 Aug 1994 15:35:04 +0000 (15:35 +0000)]
* configure.in, configure: Initialize bfd_gas to no.

30 years ago * somread.c (som_symfile_read): Force unwinds to be re-read after
Jeff Law [Wed, 31 Aug 1994 03:59:42 +0000 (03:59 +0000)]
* somread.c (som_symfile_read): Force unwinds to be re-read after
reading in a new partial symbol table.

30 years ago * som.c (som_write_fixups, case R_ENTRY): Handle case where no
Jeff Law [Wed, 31 Aug 1994 03:30:39 +0000 (03:30 +0000)]
* som.c (som_write_fixups, case R_ENTRY): Handle case where no
unwind descriptor information is available.

30 years agofix mpw problem with ".." for stan
Ken Raeburn [Tue, 30 Aug 1994 23:37:15 +0000 (23:37 +0000)]
fix mpw problem with ".." for stan

30 years ago * config/h8500/tm-8500.h (DONT_USE_REMOTE): Remove definition,
Stan Shebs [Tue, 30 Aug 1994 20:29:26 +0000 (20:29 +0000)]
* config/h8500/tm-8500.h (DONT_USE_REMOTE): Remove definition,
an obsolete conditional.
* config/pa/tm-hppa.h (BREAKPOINT) [KERNELDEBUG]: Remove use,
an obsolete conditional.
* config/rs6000/rs6000.mh, config/rs6000/rs6000.mt: Clean up
comments.

30 years agorewrite sanitize lines so as not to confuse bsd make
Ken Raeburn [Tue, 30 Aug 1994 19:45:05 +0000 (19:45 +0000)]
rewrite sanitize lines so as not to confuse bsd make

30 years ago * elfcode.h (NAME(bfd_elf,size_dynamic_sections)): Add soname
Ian Lance Taylor [Tue, 30 Aug 1994 16:04:40 +0000 (16:04 +0000)]
* elfcode.h (NAME(bfd_elf,size_dynamic_sections)): Add soname
argument, and use it to set DT_SONAME dynamic entry.
* bfd-in.h (bfd_elf32_size_dynamic_sections): Update prototype.
(bfd_elf64_size_dynamic_sections): Update prototype.
* bfd-in2.h: Rebuilt.

30 years ago * ld.h (args_type): Add field soname.
Ian Lance Taylor [Tue, 30 Aug 1994 16:04:19 +0000 (16:04 +0000)]
* ld.h (args_type): Add field soname.
* lexsup.c (parse_args): Handle -soname argument.
* emultempl/elf32.em: In call to bfd_elf32_size_dynamic_sections,
pass soname.
* ld.texinfo: Document -soname.

30 years ago * gprof.c (funcsymbol): Ignore ___gnu_compiled as well as
Ian Lance Taylor [Tue, 30 Aug 1994 15:15:09 +0000 (15:15 +0000)]
* gprof.c (funcsymbol): Ignore ___gnu_compiled as well as
__gnu_compiled, for the benefit of systems which add a leading
underscore.

30 years agoLose ns32k-opcode.h.
Stan Shebs [Mon, 29 Aug 1994 23:58:19 +0000 (23:58 +0000)]
Lose ns32k-opcode.h.

30 years ago * Makefile.in (ns32k-opcode.h): Remove reference.
Stan Shebs [Mon, 29 Aug 1994 22:17:09 +0000 (22:17 +0000)]
* Makefile.in (ns32k-opcode.h): Remove reference.
(ns32k-pinsn.o): Update dependencies.
* ns32k-opcode.h: Remove file.
* ns32k-pinsn.c (print_insn): Call version in libopcodes, remove
all other code in this file.

30 years ago * nlm/configure.in: Stop using cpu.c. Put it in TDEPFILES instead.
Stu Grossman [Mon, 29 Aug 1994 22:02:57 +0000 (22:02 +0000)]
* nlm/configure.in:  Stop using cpu.c.  Put it in TDEPFILES instead.
* config/alpha/gdbserve.mt (TDEPFILES):  Remove alpha-patch.o.

30 years ago * nlm/Makefile.in: Add rule for .S.o.
Stu Grossman [Mon, 29 Aug 1994 21:47:40 +0000 (21:47 +0000)]
* nlm/Makefile.in:  Add rule for .S.o.
* nlm/aio.h:  Protect from multiple inclusions.
* nlm/alpha-io.S:  Remove everything we don't need.
* nlm/{alpha-patch.c, alpha-patch.h, alpha-uart.c, alpha-uart.h}:
Remove, no longer needed.
* nlm/alpha.c:  Merge in lots of stuff from previous files.
* nlm/alpha.h:  Don't #include alpha-patch.h.  Make
breakpoint_insn extern.
* Move stuff from alpha-patch.h into here.

* config/alpha/gdbserve.mt (TDEPFILES):  Get rid of alpha-uart.o.

30 years agoKeep Fortran tests
Stan Shebs [Mon, 29 Aug 1994 21:33:43 +0000 (21:33 +0000)]
Keep Fortran tests

30 years ago First part of Fortran test suite.
Stan Shebs [Mon, 29 Aug 1994 21:31:48 +0000 (21:31 +0000)]
First part of Fortran test suite.
* gdb.fortran: New directory.
* gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.

30 years ago * config/tc-ppc.c (md_apply_fix): Don't generate a reloc when a
Ian Lance Taylor [Mon, 29 Aug 1994 20:14:13 +0000 (20:14 +0000)]
* config/tc-ppc.c (md_apply_fix): Don't generate a reloc when a
symbol is used as an offset into a CSECT that is not a TOC.  These
types of loads are generated by gcc -mminimal-toc.

30 years ago * ldlang.c (lang_check): Don't try to set the architecture if the
Ian Lance Taylor [Mon, 29 Aug 1994 19:24:48 +0000 (19:24 +0000)]
* ldlang.c (lang_check): Don't try to set the architecture if the
input and output files are incompatible.  Just warn.
For Synoptics.

30 years ago* annotate.c (annotate_starting): Flush output.
Jim Kingdon [Mon, 29 Aug 1994 18:45:35 +0000 (18:45 +0000)]
* annotate.c (annotate_starting): Flush output.

30 years ago * config.guess (*-unknown-freebsd*): Get rid of possible
Per Bothner [Mon, 29 Aug 1994 01:22:07 +0000 (01:22 +0000)]
* config.guess (*-unknown-freebsd*):  Get rid of possible
trailing "(Release)" in version string.

30 years ago* as.h (flag_*): Added comments describing meanings of some of these variables.
Ken Raeburn [Sun, 28 Aug 1994 22:15:33 +0000 (22:15 +0000)]
* as.h (flag_*): Added comments describing meanings of some of these variables.
(struct frag): Add some comments about the ns32k-specific fields and why
they're here.
(SIZEOF_STRUCT_FRAG): Cast addresses to char*, not int.
(flag_print_statistics): Declare.

* as.c (parse_args): Set flag_print_statistics instead of statistics_flag.
Options array is now const.  Added new option "dump-config"; if specified,
print TARGET_ALIAS, TARGET_CANONICAL, TARGET_CPU, TARGET_OBJ_FORMAT, and
TARGET_FORMAT, if defined.
(main): Change test to check flag_print_statistics.
(statistics_flag): Deleted.

30 years agoRemoved pcrel_adjust and bsr arguments from calling interface of
Ken Raeburn [Sun, 28 Aug 1994 22:01:11 +0000 (22:01 +0000)]
Removed pcrel_adjust and bsr arguments from calling interface of
frag_variant, since they're only used on one machine.  Let that machine
deal with them specially.

30 years agoMakefile.in (distclean, realclean): Remove new configure-generated files.
Ken Raeburn [Sun, 28 Aug 1994 20:26:27 +0000 (20:26 +0000)]
Makefile.in (distclean, realclean): Remove new configure-generated files.

30 years agokeep new autoconf-related files
Ken Raeburn [Sun, 28 Aug 1994 20:07:16 +0000 (20:07 +0000)]
keep new autoconf-related files

30 years ago * gdb.base/default.exp: Update expect pattern for load command
Peter Schauer [Sun, 28 Aug 1994 14:08:03 +0000 (14:08 +0000)]
* gdb.base/default.exp:  Update expect pattern for load command
without arguments.

30 years ago * symfile.c (symbol_file_add): Move reinit_frame_cache call to
Peter Schauer [Sun, 28 Aug 1994 13:57:48 +0000 (13:57 +0000)]
* symfile.c (symbol_file_add):  Move reinit_frame_cache call to
the callers of symbol_file_add. Gets rid of heuristic fence-post
warnings on mips and alpha targets when the PC resides in a shared
library which is not yet read in.
* coff-solib.c (coff_solib_add), cxux-nat.c (add_shared_symbol_files),
irix5-nat.c (solib_add), osfsolib.c (solib_add),
remote-vx.c (vx_open), solib.c (solib_add):
Add call to reinit_frame_cache after all shared libraries are read in.
* remote-udi.c (udi_load), remote-vx.c (vx_load_command),
symfile.c (symbol_file_command, add_symbol_file_command):
Add call to reinit_frame_cache after symbol_file_add.

30 years agoConversion to autoconf:
Ken Raeburn [Sun, 28 Aug 1994 07:59:06 +0000 (07:59 +0000)]
Conversion to autoconf:
* acconfig.h, aclocal.m4: New files.
* configure.in: Rewritten (except for some target-specific code) for autoconf.
* conf.in, configure: New files, generated from the above.
* Makefile.in: Changed magic sequence indicating insertion of makefile
fragments.
(VPATH, srcdir, CC, LIBS, OBJS dependencies): Use @-substitutions from
configure.
(LINKED_HEADERS): Deleted a.out.gnu.h, a.out.h, and host.h.
(config.status, configure): Rewrite rules.
(config-stamp): Depend on conf.  Skip variables that configure is now
substituting itself.
(*.o dependencies): Deleted host.h.
(distclean, realclean): Don't delete host.h.
* as.c: Don't include stdio.h, string.h, sys/types.h.  Include signal.h after
as.h.
* as.h: Include alloca-conf.h first.  Include ctype.h, string.h, strings.h,
stdlib.h, unistd.h, sys/types.h, fopen-bin.h, fopen-same.h, as suggested by
autoconf test results.
[BROKEN_ASSERT]: Don't include assert.h.
(strdup): Declare.
(volatile, const): Define if not __STDC__ and not already defined.
(malloc, realloc) [NEED_MALLOC_DECLARATION]: Declare.
(free) [NEED_FREE_DECLARATION]: Declare.
* gasp.c: Include config.h, stdlib.h (if HAVE_STDLIB_H).  Don't include host.h.
(malloc) [NEED_MALLOC_DECLARATION]: Declare.
* messages.c: Include as.h first.  Include errno.h only if HAVE_ERRNO_H.  If
HAVE_VARARGS_H and not __STDC__, undefine HAVE_STDARG_H.  Set NO_STDARG and
NO_VARARGS as appropriate.
* doc/Makefile.in (srcdir, INSTALL, INSTALL_PROGRAM, INSTALL_DATA): Use
autoconf @-substitutions.

30 years agoinput-file.c: Don't include assert.h here.
Ken Raeburn [Sun, 28 Aug 1994 04:06:36 +0000 (04:06 +0000)]
input-file.c: Don't include assert.h here.

30 years ago* config/tc-alpha.c: Added various prototypes for static functions.
Ken Raeburn [Sun, 28 Aug 1994 03:35:40 +0000 (03:35 +0000)]
* config/tc-alpha.c: Added various prototypes for static functions.
(in_range): New function, tests whether a value can fit in an N-bit field.
(build_mem, build_operate_n): New functions for constructing opcode values.
(emit_sll_n, emit_ldah_num, emit_addq_r, emit_lda_n): New functions for
emitting single instructions, no longer requiring a recursive call to
md_assemble.
(emit_add64): New function for expanding a REG:=REG+CONST operation into
one or more instructions, to handle wide constants.
(clear_insn): New variable.
(md_begin): Fill it in with zeros and BFD_RELOC_NONE values.
(alpha_ip): Use it to initialize local variable insns.
(alpha_ip, label "immediate" and cases 'P', 'G'): Use emit_add64 for
calculations.

30 years ago * config.guess: Fix i486-ncr-sysv43 -> i486-ncr-sysv4.3.
Per Bothner [Sat, 27 Aug 1994 22:08:32 +0000 (22:08 +0000)]
* config.guess:  Fix i486-ncr-sysv43 -> i486-ncr-sysv4.3.
Fix type: *-next-neststep -> *-next-nextstep.

* config.guess:  Merge from FSF:

Fri Aug 26 18:45:25 1994  Philippe De Muyter (phdm@info.ucl.ac.be)

* config.guess: Recognize powerpc-ibm-aix3.2.5.

Wed Apr 20 06:36:32 1994  Philippe De Muyter  (phdm@info.ucl.ac.be)

* config.guess: Recognize UnixWare 1.1 (UNAME_SYSTEM is SYSTEM_V
instead of UNIX_SV for UnixWare 1.0).

30 years ago * Makefile.in (all-gdb): Add dependencies on all-gcc and all-ld
Stu Grossman [Sat, 27 Aug 1994 08:58:25 +0000 (08:58 +0000)]
* Makefile.in (all-gdb):  Add dependencies on all-gcc and all-ld
to make gdb/nlm/* build after the compiler and linker.

30 years ago * config.guess (netbsd, freebsd, linux): Accept any machine,
Per Bothner [Fri, 26 Aug 1994 23:14:50 +0000 (23:14 +0000)]
* config.guess (netbsd, freebsd, linux):  Accept any machine,
not just i[34]86.
(m68k-atari-sysv4):  Relocate to match FSF version.

30 years agoRemove RCS ID's
J.T. Conklin [Fri, 26 Aug 1994 22:00:50 +0000 (22:00 +0000)]
Remove RCS ID's

30 years agowrite.c(write_contents): always enable BFD_FAST_SECTION_FILL code
Ken Raeburn [Fri, 26 Aug 1994 21:53:59 +0000 (21:53 +0000)]
write.c(write_contents): always enable BFD_FAST_SECTION_FILL code

30 years agosubsegs.c: fix EMIT_SECTION_SYMBOLS handling
Ken Raeburn [Fri, 26 Aug 1994 21:49:10 +0000 (21:49 +0000)]
subsegs.c: fix EMIT_SECTION_SYMBOLS handling

30 years ago * config.guess: More merges from the FSF.
Per Bothner [Fri, 26 Aug 1994 21:38:29 +0000 (21:38 +0000)]
* config.guess:  More merges from the FSF.

30 years agoMore merges from FSF.
Per Bothner [Fri, 26 Aug 1994 21:10:36 +0000 (21:10 +0000)]
More merges from FSF.

30 years agoconfigure: Accept and ignore --cache*, for compat w/autoconf 2.
Ken Raeburn [Fri, 26 Aug 1994 20:46:31 +0000 (20:46 +0000)]
configure: Accept and ignore --cache*, for compat w/autoconf 2.

30 years ago * (config.guess): Merge from FSF.
Per Bothner [Fri, 26 Aug 1994 20:24:35 +0000 (20:24 +0000)]
* (config.guess):  Merge from FSF.

30 years ago * coffgen.c (coff_real_object_p): Set obj_raw_syment_count.
Ian Lance Taylor [Fri, 26 Aug 1994 20:01:21 +0000 (20:01 +0000)]
* coffgen.c (coff_real_object_p): Set obj_raw_syment_count.
(coff_get_normalized_symtab): Verify obj_raw_syment_count, rather
than setting it.

30 years ago * configure.in: Recognize --with-headers and --with-libs.
Ian Lance Taylor [Fri, 26 Aug 1994 19:05:59 +0000 (19:05 +0000)]
* configure.in: Recognize --with-headers and --with-libs.
* Makefile.in (all-xiberty): Depend upon all-ld.

30 years ago* sparcnbsd.mh,sparcnbsd.mt: New files, support for NetBSD/sparc.
J.T. Conklin [Fri, 26 Aug 1994 18:10:49 +0000 (18:10 +0000)]
* sparcnbsd.mh,sparcnbsd.mt: New files, support for NetBSD/sparc.

30 years ago * configure.in: Recognize --without-newlib.
Ian Lance Taylor [Fri, 26 Aug 1994 15:19:54 +0000 (15:19 +0000)]
* configure.in: Recognize --without-newlib.

30 years ago * archive.c (bsd_write_armap): Remove host dependencies.
Ian Lance Taylor [Thu, 25 Aug 1994 19:50:26 +0000 (19:50 +0000)]
* archive.c (bsd_write_armap): Remove host dependencies.

30 years ago * aoutx.h (add_to_stringtab): Check for _bfd_stringtab_add error
Ian Lance Taylor [Thu, 25 Aug 1994 18:56:11 +0000 (18:56 +0000)]
* aoutx.h (add_to_stringtab): Check for _bfd_stringtab_add error
before adding BYTES_IN_WORD.

30 years ago * coffgen.c (coff_find_nearest_line): Look for the best C_FILE,
Ian Lance Taylor [Thu, 25 Aug 1994 15:58:43 +0000 (15:58 +0000)]
* coffgen.c (coff_find_nearest_line): Look for the best C_FILE,
not merely the first.

30 years ago * coffgen.c (coff_write_alien_symbol): If we are not using the
Ian Lance Taylor [Thu, 25 Aug 1994 14:46:10 +0000 (14:46 +0000)]
* coffgen.c (coff_write_alien_symbol): If we are not using the
symbol, clear the name so that it is not put in the string table.
From Antti.Miettinen@ntc.nokia.com.

30 years agofix typo
J.T. Conklin [Thu, 25 Aug 1994 00:58:14 +0000 (00:58 +0000)]
fix typo

30 years ago* config/xm-nbsd.h: New file, support for all NetBSD ports.
J.T. Conklin [Thu, 25 Aug 1994 00:55:39 +0000 (00:55 +0000)]
* config/xm-nbsd.h: New file, support for all NetBSD ports.
* config/sparc/{nm-sparcnbsd.h,tm-sparcnbsd.h,xm-sparcnbsd.h}: New files,
  support for NetBSD/sparc.
* configure.in: Add sparc-*-netbsd target.

30 years ago* config/xm-nbsd.h: New file, support for all NetBSD ports.
J.T. Conklin [Thu, 25 Aug 1994 00:54:50 +0000 (00:54 +0000)]
* config/xm-nbsd.h: New file, support for all NetBSD ports.
* config/sparc/{nm-nbsd.h,tm-nbsd.h,xm-nbsd.h}: New files, support
  for NetBSD/sparc.
* configure.in: Add sparc-*-netbsd target.

30 years ago * config/tc-mips.h (LOCAL_LABEL): Define as 0, for compatibility
Ian Lance Taylor [Wed, 24 Aug 1994 23:46:53 +0000 (23:46 +0000)]
* config/tc-mips.h (LOCAL_LABEL): Define as 0, for compatibility
with native MIPS assembler.
* configure.in (mips-*-irix*): Don't set emulation.
* config/te-irix.h: Remove.
With these changes, gas works with mips-tfile.

30 years ago * ecoff.c (ecoff_symbol_new_hook): Don't add a new file if we
Ian Lance Taylor [Wed, 24 Aug 1994 22:10:14 +0000 (22:10 +0000)]
* ecoff.c (ecoff_symbol_new_hook): Don't add a new file if we
haven't seen any input files yet.
* config/tc-alpha.c (md_begin): Just call symbol_create, rather
than calling symbol_new and then removing the symbol from the
list.
With these changes, Alpha gas will work with mips-tfile.

30 years agogcc lint.
Ian Lance Taylor [Wed, 24 Aug 1994 21:48:18 +0000 (21:48 +0000)]
gcc lint.
* as.c (main): Move a inside the #if 0 block which uses it.
* ecoff.c (current_stabs_filename): Make const.
* frags.h (frag_align_pattern): Declare.
* gasp.c (new_file): Cast isp to long, and use %ld to print it.
* config/tc-alpha.h (md_operand): Add cast to void.
(alpha_do_align): Declare argument types.
(tc_get_register): Declare.
(alpha_frob_ecoff_data): Declare.
* config/tc-alpha.c: Include <ctype.h>.
(s_mask): Don't declare; does not exist.
(line_comment_chars): Remove /* from descriptive comment.
(tc_get_register): Remove unused local reg.
(tc_gen_reloc): Don't bother to compare unsigned to zero.
(s_base): Correct warning to actually print register number.
(md_begin): Remove unused locals retval, lose, and i.
(alpha_fix_adjustable): Move default case inside switch to avoid
warning.
(load_symbol_address): Remove unused locals reloc_addr, p, sym,
and addend.
(emit_byte_manip_r): Declare types for all arguments.
(emit_extract_r, emit_insert_r, emit_mask_r): Likewise.
(emit_sign_extend, emit_bis_r, s_proc): Likewise.
(alpha_ip): Use sprint_value to print offsetT value.  Remove
unused local size.  Remove unused label get_macro.
(alpha_do_align): Make fill const.
(md_apply_fix): Remove unused label check_zov.

30 years ago * coffgen.c (coff_print_symbol): Cast pointer different to long
Ian Lance Taylor [Wed, 24 Aug 1994 21:17:40 +0000 (21:17 +0000)]
* coffgen.c (coff_print_symbol): Cast pointer different to long
and use %ld to print it.
* osf-core.c (osf_core_core_file_p): Remove unused variable
dseccnt.
* ecoffswap.h (ecoff_swap_ext_out): If ECOFF_64, clear remaining
bytes in bits2.

30 years ago * remote-vx.c (vx_attach): Interpret the command argument as an
Stan Shebs [Wed, 24 Aug 1994 20:22:25 +0000 (20:22 +0000)]
* remote-vx.c (vx_attach): Interpret the command argument as an
unsigned long.

30 years ago * configure.in: Change i386 to i[345]86.
Ian Lance Taylor [Wed, 24 Aug 1994 17:18:05 +0000 (17:18 +0000)]
* configure.in: Change i386 to i[345]86.
* gdb.base/configure.in: Likewise.
* gdb.c++/configure.in: Likewise.
* gdb.chill/configure.in: Likewise.