binutils-gdb.git
31 years ago * xcoffread.c (read_symbol_lineno): Look to end of symbols for .bf,
Jim Kingdon [Wed, 17 Mar 1993 03:58:24 +0000 (03:58 +0000)]
* xcoffread.c (read_symbol_lineno): Look to end of symbols for .bf,
not just 50 symbols.
(symtbl_num_syms): New variable.
(read_xcoff_symtab): Set it.
(read_symbol_nvalue): Check for bad symno.
(read_symbol_{lineno,nvalue}, callers): Don't pass symtable; it's
always symtbl.

31 years agoCatch error on close so runtest won't bomb.
Rob Savoye [Wed, 17 Mar 1993 02:04:20 +0000 (02:04 +0000)]
Catch error on close so runtest won't bomb.

31 years ago * config/unix-gdb.exp (gdb_exit): Remove close commands that
Fred Fish [Tue, 16 Mar 1993 23:48:09 +0000 (23:48 +0000)]
* config/unix-gdb.exp (gdb_exit):  Remove close commands that
may be called after gdb goes away.  Previous versions of expect
needed these to avoid file descriptor leaks, but they cause
errors with the current revision of expect.
* gdb.t00/gdbvars.exp:  Use -re on expected output after
setting sevenbit-strings.
* gdb.t04/setvar.exp, gdb.t13/bitfields.exp:  Make commands
to set sevenbit-strings consistent across tests.
**** start-sanitize-chill ****
gdb.t30/chexp.exp, gdb.t31/chillvars.exp:  Make commands to
set sevenbit-strings consistent across tests.
**** end-sanitize-chill ****

31 years ago * Makefile.in: Add *clean rules.
Per Bothner [Tue, 16 Mar 1993 20:16:31 +0000 (20:16 +0000)]
* Makefile.in:  Add *clean rules.

31 years agoelf32.c, elf32-sparc.c changes
Ken Raeburn [Tue, 16 Mar 1993 18:37:51 +0000 (18:37 +0000)]
elf32.c, elf32-sparc.c changes

31 years ago * config/rs6000.mh: Get rid of -Dfd_set=int crock.
Stu Grossman [Tue, 16 Mar 1993 18:15:25 +0000 (18:15 +0000)]
* config/rs6000.mh:  Get rid of -Dfd_set=int crock.
This is defined in defs.h if necessary.
* vx-share/vxWorks.h:  Remove #defs of min and max.
* vx-share/xdr_ld.c, vx-share/xdr_ptrace.c,
vx-share/xdr_rdb.c:  include defs.h.

31 years agoAdd testsuite to list of things to save.
Fred Fish [Tue, 16 Mar 1993 14:09:12 +0000 (14:09 +0000)]
Add testsuite to list of things to save.

31 years agoAdd dejagnu to list of directories to save.
Fred Fish [Tue, 16 Mar 1993 14:07:56 +0000 (14:07 +0000)]
Add dejagnu to list of directories to save.

31 years ago * write.c (write_contents): Compute the relocs before writing out
Ian Lance Taylor [Mon, 15 Mar 1993 23:58:22 +0000 (23:58 +0000)]
* write.c (write_contents): Compute the relocs before writing out
the section contents.
* config/obj-ecoff.h, config/obj-ecoff.c: Numerous changes to get
symbol table and values right.
* config/tc-mips.h (LOCAL_LABEL): If OBJ_ECOFF, any label starting
with $L is local.
* config/tc-mips.c (tc_gen_reloc): If OBJ_ECOFF, adjust the addend
by the section vma.

* config/z8k.mt (TARG_CPU_DEPENDENTS): The relevant file is
z8k-opc.h, not z8k.h.

31 years ago * h8300.mt (DO_INSTALL): Renamed from INSTALL.
Ian Lance Taylor [Mon, 15 Mar 1993 23:49:48 +0000 (23:49 +0000)]
* h8300.mt (DO_INSTALL): Renamed from INSTALL.

31 years ago * configure.in (h8300-*-*, h8500-*-*): Don't build libg++.
Ian Lance Taylor [Mon, 15 Mar 1993 23:47:19 +0000 (23:47 +0000)]
* configure.in (h8300-*-*, h8500-*-*): Don't build libg++.

31 years ago * Makefile.in (GCC_FLAGS_TO_PASS): Reset some variables that gcc
Ian Lance Taylor [Mon, 15 Mar 1993 23:45:33 +0000 (23:45 +0000)]
* Makefile.in (GCC_FLAGS_TO_PASS): Reset some variables that gcc
doesn't use to avoid ARG_MAX overflow on SCO.

31 years ago * config/obj-coffbfd.c (obj_coff_endef): Correct test for .bf
Ian Lance Taylor [Mon, 15 Mar 1993 20:21:13 +0000 (20:21 +0000)]
* config/obj-coffbfd.c (obj_coff_endef): Correct test for .bf
symbol.

31 years ago*** empty log message ***
Jim Kingdon [Mon, 15 Mar 1993 17:45:08 +0000 (17:45 +0000)]
*** empty log message ***

31 years agoSupport 68000 series without floating point. (changed config name)
John Gilmore [Sun, 14 Mar 1993 11:06:43 +0000 (11:06 +0000)]
Support 68000 series without floating point.   (changed config name)
* configure.in (m68000-*-{aout,elf,coff}):  New configs.

31 years ago* configure.in (m68k-adobe-*): New config.
John Gilmore [Sun, 14 Mar 1993 10:58:48 +0000 (10:58 +0000)]
* configure.in (m68k-adobe-*):  New config.
* tm-68k-nofp.h:  New file, lacks 68881 support.
* config/m68k-nofp.mt:  New file.

31 years agoRemove a few remaining underscore/no-underscore remnants from config files.
John Gilmore [Sun, 14 Mar 1993 10:49:01 +0000 (10:49 +0000)]
Remove a few remaining underscore/no-underscore remnants from config files.
* config/{m68k-un.mt, sparc-un.mt}:  Remove.
* config/m68k-noun.mt: Rename to m68k-fp.mt.
* config/sparc-noun.mt: Rename to sparc-em.mt.
* tm-68k-noun.h, tm-spc-noun.h:  Remove.
* tm-68k-un.h:  Rename to tm-68k-fp.h.
* tm-spc-un.h:  Rename to tm-spc-em.h.
* tm-sun4sol2.h: Cleanup.
* configure.in (m68k-*, sparc-* targets):  Corresponding changes.

31 years ago* symmisc.c (std_in, std_out, std_err): Move initializations
John Gilmore [Sat, 13 Mar 1993 23:09:20 +0000 (23:09 +0000)]
* symmisc.c (std_in, std_out, std_err):  Move initializations
to runtime code, in case they aren't constant.

31 years agoconsistent use of -solaris2*
David D. Zuhn [Sat, 13 Mar 1993 03:09:19 +0000 (03:09 +0000)]
consistent use of -solaris2*

31 years agoconsistent use of -solaris2*
David D. Zuhn [Sat, 13 Mar 1993 02:59:38 +0000 (02:59 +0000)]
consistent use of -solaris2*

31 years agoconsistent use of -solaris2*
David D. Zuhn [Sat, 13 Mar 1993 02:52:21 +0000 (02:52 +0000)]
consistent use of -solaris2*

31 years ago * configure.in: canonicalize all instances to *-*-solaris2*,
David D. Zuhn [Sat, 13 Mar 1993 02:50:15 +0000 (02:50 +0000)]
* configure.in: canonicalize all instances to *-*-solaris2*,
also strip out a number of tools to not build for go32 host

31 years ago* symtab.c (find_pc_symtab): some object file formats, notably mips,
K. Richard Pixley [Sat, 13 Mar 1993 00:50:09 +0000 (00:50 +0000)]
* symtab.c (find_pc_symtab): some object file formats, notably mips,
  have holes in the address ranges of symtabs.  Change this algorythm
  from first hit to tightest fit.

Fixes #2217.

31 years ago* mips-tdep.c (heuristic_proc_start): if we walk the pc into the fence
K. Richard Pixley [Sat, 13 Mar 1993 00:32:10 +0000 (00:32 +0000)]
* mips-tdep.c (heuristic_proc_start): if we walk the pc into the fence
  post without finding the enclosing function, then print a warning.

31 years agoFri Mar 12 09:33:23 1993 Jim Kingdon (kingdon@cygnus.com)
Jim Kingdon [Fri, 12 Mar 1993 23:12:59 +0000 (23:12 +0000)]
Fri Mar 12 09:33:23 1993  Jim Kingdon  (kingdon@cygnus.com)

* xcoffread.c (retrieve_tracebackinfo): Move assignment out
of while condition.

* xcoffread.c (enter_line_range): complain() on bad endoffset.
xcoffread.c: Doc fixes.

Tue Mar  9 09:56:12 1993  Jim Kingdon  (kingdon@cygnus.com)

* tm-rs6000.h (CORE_NEEDS_RELOCATION): Just call xcoff_relocate_core.
xcoffexec.c (xcoff_relocate_core): New function.
(text_adjustment): Removed.
(add_vmap): Return the vmap.
rs6000-tdep.c (add_text_to_loadinfo): No longer static.

Fri Mar  5 05:22:46 1993  Jim Kingdon  (kingdon@cygnus.com)

* xcoffsolib.h: Add objfile member to struct vmap.
xcoff{exec,solib}.c: Use it, not lookup_objfile_bfd.
xcoffexec.c (add_vmap): Allocate objfiles here.

31 years ago * rs6000-core.c: Add .ldinfo section.
Jim Kingdon [Fri, 12 Mar 1993 23:05:12 +0000 (23:05 +0000)]
* rs6000-core.c: Add .ldinfo section.

31 years ago * expr.c, write.c: Ultrix native 4.2 cc requires assert condition
Ian Lance Taylor [Fri, 12 Mar 1993 20:01:28 +0000 (20:01 +0000)]
* expr.c, write.c: Ultrix native 4.2 cc requires assert condition
to be on a single line.

31 years ago * Makefile.in (MAKEOVERRIDES): Define to be empty.
Ian Lance Taylor [Fri, 12 Mar 1993 19:58:54 +0000 (19:58 +0000)]
* Makefile.in (MAKEOVERRIDES): Define to be empty.

31 years ago * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
Fred Fish [Fri, 12 Mar 1993 16:50:38 +0000 (16:50 +0000)]
* gdb.t21/demangle.exp (proc demangle):  Adjust quotes in an
expected output to match current "expect" expectations.

31 years ago * section.c (bfd_set_section_contents): whitespacs
Steve Chamberlain [Fri, 12 Mar 1993 16:33:59 +0000 (16:33 +0000)]
* section.c (bfd_set_section_contents): whitespacs
* seclet.c (seclet_dump_seclet): Don't try and fill sections with
no contents.

31 years agodon't define POSIX_UTIME for go32, makes ar & ranlib happy again
David D. Zuhn [Fri, 12 Mar 1993 03:32:47 +0000 (03:32 +0000)]
don't define POSIX_UTIME for go32, makes ar & ranlib happy again

31 years agotoday's changes -- version number handling, config.h, as.c, EXIT_*, 68k changes
Ken Raeburn [Fri, 12 Mar 1993 03:10:49 +0000 (03:10 +0000)]
today's changes -- version number handling, config.h, as.c, EXIT_*, 68k changes

31 years agoaccept m683??, not just m683?2
Ken Raeburn [Fri, 12 Mar 1993 03:04:32 +0000 (03:04 +0000)]
accept m683??, not just m683?2

31 years agoconfig.h, version.c: Now generated from the Makefile.
Ken Raeburn [Fri, 12 Mar 1993 02:58:15 +0000 (02:58 +0000)]
config.h, version.c: Now generated from the Makefile.
ALL_CFLAGS: No longer define TARGET_CPU.
check: Print a message, rather than staying silent.
VERSION: New variable.

31 years agoInclude new file config.h.
Ken Raeburn [Fri, 12 Mar 1993 02:39:03 +0000 (02:39 +0000)]
Include new file config.h.
Handle some m683XX processor ids.

31 years agoDefine EXIT_SUCCESS and EXIT_FAILURE if not already defined.
Ken Raeburn [Fri, 12 Mar 1993 02:29:11 +0000 (02:29 +0000)]
Define EXIT_SUCCESS and EXIT_FAILURE if not already defined.

31 years ago * utils.c (fputs_demangled, fprint_symbol): Remove.
Fred Fish [Thu, 11 Mar 1993 19:27:51 +0000 (19:27 +0000)]
* utils.c (fputs_demangled, fprint_symbol):  Remove.
* utils.c (fprintf_symbol_filtered):  New function which combines
the functionality of fputs_demangled and fprint_symbol.  Uses a
caller provided language parameter to select the appropriate
demangler, and caller provided args to pass to the demangler.
* defs.h (fputs_demangled, fprint_symbol):  Remove prototypes.
* defs.h (fprintf_symbol_filtered):  Add prototype.
* c-typeprint.c (cp_type_print_method_args):  Replace calls to
fputs_demangled with call to fprintf_symbol_filtered.
* cp-valprint.c (demangle.h):  Include
* cp-valprint.c (cp_print_value_fields):  Replace calls to
fprint_symbol with calls to fprintf_symbol_filtered.
* printcmd.c (print_frame_args):  Replace call to fprint_symbol
with call to fprintf_symbol_filtered.
* stack.c (print_frame_info, frame_info):  Add language variable
to pass to fprintf_symbol_demangled and initialize it from the
symbol's language.  Replace calls to fputs_demangled with calls
to fprintf_symbol_filtered.
* symtab.c (find_methods):  Replace call to fputs_demangled with
call to fprintf_symbol_filtered.
**** start-sanitize-chill ****
* ch-valprint.c (demangle.h):  Include.
* ch-valprint.c (chill_print_value_fields):  Replace call to
fprint_symbol with call to new fprintf_symbol_filtered.
**** end-sanitize-chill ****

31 years ago * demangle.h (DMGL_NO_OPTS): Add define (set to 0) to use
Fred Fish [Thu, 11 Mar 1993 18:56:43 +0000 (18:56 +0000)]
* demangle.h (DMGL_NO_OPTS):  Add define (set to 0) to use
in place of bare 0, for readability reasons.

31 years ago * utils.c (fputs_demangled): Complete rewrite to clean up and
Fred Fish [Thu, 11 Mar 1993 17:44:39 +0000 (17:44 +0000)]
* utils.c (fputs_demangled):  Complete rewrite to clean up and
add a language parameter that is used to select the demangling
algorithm.
* defs.h (enum language):  Move further up in file so enum can
be used in prototypes.
* defs.h (fputs_demangled):  Update prototype to add lang arg.
* c-typeprint.c (cp_type_print_method_args):  Add language arg
to fputs_demangled calls, remove DMGL_PARAMS flag.
* stack.c (print_frame_info):  Remove obsolete code so we don't
have to update fputs_demangled usage in it.
* stack.c (print_frame_info, frame_info):  Add language variable
to pass to fputs_demangled and initialize it from the symbol's
language.  Call fputs_demangled with language arg.
* symtab.c (find_methods):  Add language arg to fputs_demangled
call.

31 years ago * Makefile.in (VERSION): Bump version to 4.8.2.
Fred Fish [Thu, 11 Mar 1993 02:40:29 +0000 (02:40 +0000)]
* Makefile.in (VERSION):  Bump version to 4.8.2.

31 years agoDocument change to default.exp.
Fred Fish [Thu, 11 Mar 1993 02:04:16 +0000 (02:04 +0000)]
Document change to default.exp.

31 years ago * main.c (source_command): Require an explicit pathname of file
Fred Fish [Thu, 11 Mar 1993 01:56:31 +0000 (01:56 +0000)]
* main.c (source_command):  Require an explicit pathname of file
to source, since previous behavior of defaulting to gdb init file
was troublesome and undocumented.
* printcmd.c (disassemble_command):  Add missing '{}' pair to
else with two statements.  Bug reported by Stephane Tsacas
<slt@isoft.fr>.
* symtab.c (find_pc_line):  Don't complain about zero length or
negative length line numbers for the moment, since we may not own
the terminal when called, such as when single stepping.  (FIXME)
* language.h (CAST_IS_CONVERSION):  True if current language is
C++ as well as C.  Fix from Peter Schauer.
* environ.c (get_in_environ, set_in_environ, unset_in_environ):
Use STREQN macro rather than bare '!strncmp()'.
* environ.c (unset_in_environ):  Avoid use of memcpy on
overlapping memory regions, as suggested by Paul Eggert
<eggert@twinsun.com>.
* c-exp.y (%union struct):  Remove unused ulval as suggested
by Paul Eggert <eggert@twinsun.com>.

31 years ago* config.guess: add GPL.
K. Richard Pixley [Wed, 10 Mar 1993 20:10:33 +0000 (20:10 +0000)]
* config.guess: add GPL.

* Makefile.in, config.guess, config.sub, configure: bump
  copyrights to 93.

31 years ago * Makefile.in (do-info): Removed obsolete check for existence of
Ian Lance Taylor [Wed, 10 Mar 1993 19:32:44 +0000 (19:32 +0000)]
* Makefile.in (do-info): Removed obsolete check for existence of
localenv file.

31 years ago * Makefile.in (MAKEOVERRIDES): Define to be empty.
Ian Lance Taylor [Wed, 10 Mar 1993 15:13:33 +0000 (15:13 +0000)]
* Makefile.in (MAKEOVERRIDES): Define to be empty.

31 years agotclX support
David D. Zuhn [Wed, 10 Mar 1993 11:15:28 +0000 (11:15 +0000)]
tclX support

31 years ago* Makefile.in (setup-dirs): change invocation of make to $(MAKE).
K. Richard Pixley [Wed, 10 Mar 1993 00:07:50 +0000 (00:07 +0000)]
* Makefile.in (setup-dirs): change invocation of make to $(MAKE).

31 years agoRemove unneeded files, which were being sanitized out anyhow.
Ian Lance Taylor [Tue, 9 Mar 1993 21:04:44 +0000 (21:04 +0000)]
Remove unneeded files, which were being sanitized out anyhow.

31 years ago * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
Fred Fish [Tue, 9 Mar 1993 19:17:48 +0000 (19:17 +0000)]
* gdb.t07/watchpoint.exp (test_simple_watchpoint):  Set up
expected fail for i486-*-* that misses the marker2 function.
* gdb.t10/crossload.exp (bfddefault):  Allow successful
recognition of a format to pass even if no symbols are found.
Explicitly catch failures where the format is not recognized
or is ambiguous, and add the reason to the fail message.
* gdb.t10/crossload.exp (bfdexplicit):  Catch failure where
the cause is and invalid target and add reason to failure message.
* gdb.t10/crossload.exp:  Fix bfd target names for elf32-m68k,
elf32-i386, elf32-sparc, and elf32-i860.
* gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
Set up expected failure for 'filename'::variable scope resolution,
which is now apparently broken on all targets.
* gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
gdb.t23/templates.exp:   Change failure for missing binfile into
just a warning.
gdb.t21/demangle.exp:  Change all cfront references to 'arm'
references.

31 years ago * elf32.c (elf_object_p): Use ELF_ARCH stored in xvec to match
Fred Fish [Tue, 9 Mar 1993 18:59:58 +0000 (18:59 +0000)]
* elf32.c (elf_object_p):  Use ELF_ARCH stored in xvec to match
against machine architecture stored in the ELF header, to resolve
ambiguities.
* elf32.c (bfd_section_from_shdr):  Bfd_make_section can return
NULL, so only use results when non-NULL.
* targets.c (elf32_m68k_vec, elf32_i860_vec):  Add extern decls
and add to vector of targets.

31 years agoRemoved obsolete Makefile.dos.
Ian Lance Taylor [Tue, 9 Mar 1993 18:16:38 +0000 (18:16 +0000)]
Removed obsolete Makefile.dos.

31 years agoRemoved obsolete Makefile.dos (was being sanitized out anyhow).
Ian Lance Taylor [Tue, 9 Mar 1993 18:14:12 +0000 (18:14 +0000)]
Removed obsolete Makefile.dos (was being sanitized out anyhow).

31 years agoUpdated dates.
Ian Lance Taylor [Tue, 9 Mar 1993 17:50:54 +0000 (17:50 +0000)]
Updated dates.

31 years agoAdded new ECOFF files.
Ian Lance Taylor [Tue, 9 Mar 1993 16:12:44 +0000 (16:12 +0000)]
Added new ECOFF files.

31 years agoCheckpoint for ECOFF support. Can assemble hello, world.
Ian Lance Taylor [Tue, 9 Mar 1993 16:11:14 +0000 (16:11 +0000)]
Checkpoint for ECOFF support.  Can assemble hello, world.

* config/obj-ecoff.c, config/obj-ecoff.h: Preliminary ECOFF
support.

* config/tc-mips.h (TARGET_FORMAT): Define based on OBJ_AOUT vs.
OBJ_ECOFF as well as TARGET_BYTES_*_ENDIAN.
(struct loc, struct proc, struct file): Moved to tc-mips.c within
#ifndef OBJ_ECOFF block, since ECOFF uses different versions.
* config/tc-mips.c: Rearranged for ECOFF support.  Added
prototypes for all static functions.  Moved existing minimal
debugging format support info #ifndef OBJ_ECOFF blocks.
(macro_build_lui): Eliminated sign_extend argument, because ECOFF
does not support a non sign extended high 16 bits reloc.  Adjusted
all callers accordingly.
(tc_get_register): Renamed from get_register, and made non-static.

* config/mips-big.mt, config/mips-lit.mt: New files.  Define
TARGET_BYTES_BIG_ENDIAN and TARGET_BYTES_LITTLE_ENDIAN,
respectively.
* configure.in (mips-*-bsd*): Use gas_target mips-lit.
(mips-*-ultrix*, mips-*-irix*, mips-*-ecoff): New targets, using
obj_format ecoff and gas_target mips-lit or mips-big.

31 years agobump main trunk to version 2.0.1
Ken Raeburn [Tue, 9 Mar 1993 15:44:37 +0000 (15:44 +0000)]
bump main trunk to version 2.0.1

31 years ago * write.c (chain_frchains_together): Check that seg_info (section)
Ian Lance Taylor [Tue, 9 Mar 1993 15:42:14 +0000 (15:42 +0000)]
* write.c (chain_frchains_together): Check that seg_info (section)
is not NULL.
(write_object_file): Call obj_frob_file after setting the symbols,
not before.

31 years agokeep mh-aix386
David D. Zuhn [Tue, 9 Mar 1993 02:35:46 +0000 (02:35 +0000)]
keep mh-aix386

31 years ago * utils.c (quit): If using go32, still call error when quit seen.
Steve Chamberlain [Tue, 9 Mar 1993 01:56:53 +0000 (01:56 +0000)]
* utils.c (quit): If using go32, still call error when quit seen.
(pollquit): New function to poll keyboard for user interrupt,
called from QUIT.
* xm-go32.h (QUIT): Define to call pollquit.
* h8300-tdep.c (examine_prologue): Use correct value for number of
registers.

31 years agoupdated
Ken Raeburn [Tue, 9 Mar 1993 01:55:50 +0000 (01:55 +0000)]
updated

31 years agoAdd `set print max-symbolic-offset' doc.
John Gilmore [Mon, 8 Mar 1993 23:55:50 +0000 (23:55 +0000)]
Add `set print max-symbolic-offset' doc.

31 years agohppa.c: don't require DL_MAGIC, SHL_MAGIC, if they're not defined (hpux 7.0)
Ken Raeburn [Mon, 8 Mar 1993 21:30:29 +0000 (21:30 +0000)]
hppa.c: don't require DL_MAGIC, SHL_MAGIC, if they're not defined (hpux 7.0)

31 years agohppa and aix386-core changes
Ken Raeburn [Mon, 8 Mar 1993 20:58:34 +0000 (20:58 +0000)]
hppa and aix386-core changes

31 years agofrom Noah Friedman: define some needed macros if hpux version < 8
Ken Raeburn [Mon, 8 Mar 1993 20:42:00 +0000 (20:42 +0000)]
from Noah Friedman: define some needed macros if hpux version < 8

31 years agoFrom Minh Tran-Le: recognize i386-ibm-aix (ps/2), and use new config file for
Ken Raeburn [Mon, 8 Mar 1993 20:30:47 +0000 (20:30 +0000)]
From Minh Tran-Le: recognize i386-ibm-aix (ps/2), and use new config file for
it.

31 years agofor aix386 (ps/2), don't run ranlib
Ken Raeburn [Mon, 8 Mar 1993 20:21:19 +0000 (20:21 +0000)]
for aix386 (ps/2), don't run ranlib

31 years ago * Makefile.in (GCC_FOR_TARGET): Eliminated definition; use
Ian Lance Taylor [Mon, 8 Mar 1993 19:15:20 +0000 (19:15 +0000)]
* Makefile.in (GCC_FOR_TARGET): Eliminated definition; use
CC_FOR_TARGET instead.
(BASE_FLAGS_TO_PASS): Pass GCC_FOR_TARGET=$(CC_FOR_TARGET).

Also added a sanitized dependency of all-gdb on all-chillrt, so that
the gdb chill tests can be built.

31 years agoClean up damage made when I checked in sanitized version
Steve Chamberlain [Mon, 8 Mar 1993 18:16:14 +0000 (18:16 +0000)]
Clean up damage made when I checked in sanitized version

31 years ago * Makefile.in (MAKEOVERRIDES): Define to be empty for GNU Make
Ian Lance Taylor [Mon, 8 Mar 1993 06:00:50 +0000 (06:00 +0000)]
* Makefile.in (MAKEOVERRIDES): Define to be empty for GNU Make
3.63.

Also corrected the definitions of CC_FOR_TARGET, CXX_FOR_TARGET and
CHILL_FOR_TARGET.

31 years ago * config/*-gdb.exp: returns an error, rather than exiting on
Rob Savoye [Sun, 7 Mar 1993 23:15:44 +0000 (23:15 +0000)]
    * config/*-gdb.exp: returns an error, rather than exiting on
internal errors.

31 years agoDoesn't exit after internal errors.
Rob Savoye [Sun, 7 Mar 1993 23:11:56 +0000 (23:11 +0000)]
Doesn't exit after internal errors.

31 years ago* am29k-tdep.c (TAGWORD_ZERO_MASK): New #define.
John Gilmore [Sat, 6 Mar 1993 02:02:39 +0000 (02:02 +0000)]
* am29k-tdep.c (TAGWORD_ZERO_MASK):  New #define.
(examine_tag):  Use it.
(read_register_stack):  Only look in the local registers for a
memory address if it's between rfb and rsp; go to memory otherwise.

31 years ago* am29k-tdep.c (initialize_29k): Fix call_scratch_address doc.
John Gilmore [Sat, 6 Mar 1993 01:49:03 +0000 (01:49 +0000)]
* am29k-tdep.c (initialize_29k):  Fix call_scratch_address doc.
Remove reginv command.
(reginv_com):  Remove ancient kludge command.

31 years ago* tm-irix3.h (ZERO_REGNUM): copy this macro from tm-mips.h so that
K. Richard Pixley [Sat, 6 Mar 1993 01:25:06 +0000 (01:25 +0000)]
* tm-irix3.h (ZERO_REGNUM): copy this macro from tm-mips.h so that
  irix4 will again compile.

31 years ago* tm-mips.h (GDB_TARGET_IS_MIPS): no longer used, now removed.
K. Richard Pixley [Sat, 6 Mar 1993 01:23:11 +0000 (01:23 +0000)]
* tm-mips.h (GDB_TARGET_IS_MIPS): no longer used, now removed.

31 years agoaccept mips-sgi-irix4* for irix4.
K. Richard Pixley [Sat, 6 Mar 1993 01:19:48 +0000 (01:19 +0000)]
accept mips-sgi-irix4* for irix4.

31 years ago * read.h: Define stringer here.
Ian Lance Taylor [Fri, 5 Mar 1993 17:10:02 +0000 (17:10 +0000)]
* read.h: Define stringer here.
read.c, config/obj-ieee.c, config/obj-tcm88k.c: Not any of these
places.

31 years ago(print_register_hook): Lint.
Steve Chamberlain [Fri, 5 Mar 1993 15:52:23 +0000 (15:52 +0000)]
(print_register_hook): Lint.

31 years agoLint fixes from Paul Eggert (eggert@twinsun.com):
John Gilmore [Fri, 5 Mar 1993 01:44:38 +0000 (01:44 +0000)]
Lint fixes from Paul Eggert (eggert@twinsun.com):

* command.c (do_setshow_command):  var_uintegers are unsigned.
* sparc-tdep.c (save_insn_opcodes, restore_insn_opcodes):
unsigned, since they use hex values with the high bit set.

31 years ago Fixes submitted by Karl Berry (karl@nermal.hq.ileaf.com):
Fred Fish [Fri, 5 Mar 1993 01:04:48 +0000 (01:04 +0000)]
Fixes submitted by Karl Berry (karl@nermal.hq.ileaf.com):
* m88k-pinsn.c (sprint_address):  Use SYMBOL_NAME macro to
access symbol name.

31 years ago * m88k-nat-c (SXIP_OFFSET, SNIP_OFFSET, SFIP_OFFSET): Enclose
Fred Fish [Fri, 5 Mar 1993 00:45:08 +0000 (00:45 +0000)]
* m88k-nat-c (SXIP_OFFSET, SNIP_OFFSET, SFIP_OFFSET):  Enclose
macro definitions in parenthesis.  Bug reported by karl@hq.ileaf.com.

31 years ago * coff-mips.c (ecoff_bfd_reloc_type_lookup): New function.
Ian Lance Taylor [Thu, 4 Mar 1993 22:48:46 +0000 (22:48 +0000)]
* coff-mips.c (ecoff_bfd_reloc_type_lookup): New function.
(ecoff_write_object_contents): Added BFD_ASSERT calls to ensure
relocs are reasonable.
* coff-msym.c: Eliminated uses of DEFUN.
(ecoff_swap_tir_out): New function.

31 years ago * ecoff-ext.h (AUX_GET_*): Rewrote to use new macro AUX_GET_ANY.
Ian Lance Taylor [Thu, 4 Mar 1993 22:39:57 +0000 (22:39 +0000)]
* ecoff-ext.h (AUX_GET_*): Rewrote to use new macro AUX_GET_ANY.
(AUX_PUT_*): New macros corresponding to the AUX_GET macros.
(ecoff_swap_tir_out): Added prototype.

* mips.h (N_BTMASK, N_TMASK, N_BTSHFT, N_TSHIFT): Define; these
are needed to interpret gcc debugging output.

31 years ago * mips.sc-sh: Added variables which may be overridden by a
Ian Lance Taylor [Thu, 4 Mar 1993 20:49:26 +0000 (20:49 +0000)]
* mips.sc-sh: Added variables which may be overridden by a
specific emulation.
* mipsidt.sh: New file; emulation for IDT MIPS board.
* Makefile.in (ALL_EMULATIONS): Added em_mipsidt.o.
(em_mipsidt.c): New target.  Uses mipsidt.sh and mips.sc-sh.
* config/mips-idt.mt: New file; sets EMUL to mipsidt.
* configure.in (mips-idt-ecoff): New target; uses mips-idt.

31 years ago * read.c (s_space): Multiply repeat count by mult, not fill.
Steve Chamberlain [Thu, 4 Mar 1993 19:55:59 +0000 (19:55 +0000)]
* read.c (s_space): Multiply repeat count by mult, not fill.

31 years ago * dbxread.c (dbx_symfile_init): Catch the case where there is
Fred Fish [Thu, 4 Mar 1993 16:25:21 +0000 (16:25 +0000)]
* dbxread.c (dbx_symfile_init):  Catch the case where there is
no string table, but the only way we find out is by reading zero
bytes from EOF.

31 years agoread.c needs ctype.h
Ken Raeburn [Thu, 4 Mar 1993 13:21:19 +0000 (13:21 +0000)]
read.c needs ctype.h

31 years ago * dbxread.c (dbx_symfile_init): Make size of the string table
Fred Fish [Thu, 4 Mar 1993 00:01:32 +0000 (00:01 +0000)]
* dbxread.c (dbx_symfile_init):  Make size of the string table
size field a define (DBX_STRINGTAB_SIZE_SIZE).  Ensure that the
offset to the string table is nonzero and handle the nonexistant
string table case, should it occur.  Ensure that the string table
size read from the file is reasonable, with a minimum lower bound
of DBX_STRINGTAB_SIZE_SIZE instead of zero.

31 years agoAlways keep simulators
Steve Chamberlain [Wed, 3 Mar 1993 23:10:48 +0000 (23:10 +0000)]
Always keep simulators

31 years agoAdd ChangeLog to kept things
Steve Chamberlain [Wed, 3 Mar 1993 23:08:41 +0000 (23:08 +0000)]
Add ChangeLog to kept things

31 years agoFound trying to compile on ok.
Steve Chamberlain [Wed, 3 Mar 1993 23:07:53 +0000 (23:07 +0000)]
Found trying to compile on ok.

* Makefile.in: Don't use cb or indent
* p1.c, state.h, writecode.c: lint

31 years agoSUB_SEGMENT_ALIGN now takes an argument.
Ken Raeburn [Wed, 3 Mar 1993 19:47:15 +0000 (19:47 +0000)]
SUB_SEGMENT_ALIGN now takes an argument.

31 years agoSUB_SEGMENT_ALIGN now takes an argument.
Ken Raeburn [Wed, 3 Mar 1993 19:46:12 +0000 (19:46 +0000)]
SUB_SEGMENT_ALIGN now takes an argument.
VMS fixes from Eric Youngdale.

31 years agoPut back mips-dec-bsd* case.
Ken Raeburn [Wed, 3 Mar 1993 19:44:17 +0000 (19:44 +0000)]
Put back mips-dec-bsd* case.
With a comment this time, so maybe zoo will realize it's not a no-op.

31 years ago * Makefile.in: Changes to build testsuite correctly.
Ian Lance Taylor [Wed, 3 Mar 1993 15:26:23 +0000 (15:26 +0000)]
* Makefile.in: Changes to build testsuite correctly.
(FLAGS_TO_PASS): Added CXX and CXXFLAGS.
(CC_FOR_TARGET, CXX, CXX_FOR_TARGET): New variables.
(TARGET_FLAGS_TO_PASS): New variable.
(SUBDIRS): Added testsuite.
(all): Build testsuite using TARGET_FLAGS_TO_PASS, so that
testsuite is compiled with CC_FOR_TARGET rather than CC.

31 years ago (Ultrix 2.2 support from Michael Rendell <michael@mercury.cs.mun.ca>)
Fred Fish [Wed, 3 Mar 1993 06:11:45 +0000 (06:11 +0000)]
(Ultrix 2.2 support from Michael Rendell <michael@mercury.cs.mun.ca>)
* configure.in (vax-*-ultrix2*):  Add Ultrix 2.2 triplet.
* config.guess:  Change 'VAX*:ULTRIX:*:*' to 'VAX*:ULTRIX*:*:*'.
* config/mh-vaxult2:  New file.

31 years ago * dbxread.c (dbx_symfile_init): Fix for nonexistant string table,
Fred Fish [Wed, 3 Mar 1993 06:04:26 +0000 (06:04 +0000)]
* dbxread.c (dbx_symfile_init):  Fix for nonexistant string table,
reported by mycroft@gnu.ai.mit.edu.

(Ultrix 2.2 support from Michael Rendell <michael@mercury.cs.mun.ca>)
* configure.in (vax-*-ultrix2*):  New triplet.
* config/vaxult2.mh:  New file.
* xm-vaxult2.h:  New file.

31 years ago (Ultrix 2.2 support from Michael Rendell <michael@mercury.cs.mun.ca>)
Fred Fish [Wed, 3 Mar 1993 05:56:52 +0000 (05:56 +0000)]
(Ultrix 2.2 support from Michael Rendell <michael@mercury.cs.mun.ca>)
* configure.host (vax-*-ultrix2*):  Add triplet.
* hosts/vaxult2.h:  New file.
* config/vaxult2.mh:  New file.

31 years ago * sysdep-sysv4.h: New file for SVR4.
Fred Fish [Wed, 3 Mar 1993 05:52:32 +0000 (05:52 +0000)]
* sysdep-sysv4.h:  New file for SVR4.
* configure.in (*-*-sysv4*):  Use sysdep-sysv4.h.

* configure.in (*-*-ultrix2):  Add triplet from Michael Rendell
(michael@mercury.cs.mun.ca)

31 years ago * configure.in: remove no-op mips-dec-bsd* in "case $target"
David D. Zuhn [Wed, 3 Mar 1993 04:28:20 +0000 (04:28 +0000)]
* configure.in: remove no-op mips-dec-bsd* in "case $target"
* Makefile.in (dir.info): only run gen-info-dir if it exists,
(install-info): install dir.info only if it exists,
(all-expect, install-expect): pass along X11_FLAGS_TO_PASS