Commit Graph

4899 Commits

Author SHA1 Message Date
Steve Chamberlain
2d8d693ab7 New functions from macros in tm-z8k.h. 1993-03-17 19:32:42 +00:00
Fred Fish
898e13c8b9 * valops.c (value_arg_coerce): Apply temporary patch to
fix problem with coercion of array and function types when
	passed as arguments to C functions, pending a more complete
	review of when and how coercion should be done, depending
	upon context and language.
1993-03-17 19:28:59 +00:00
Jim Kingdon
3e57da3826 * xcoffread.c (MIN_TBTABSIZ): Change to 12. 1993-03-17 19:17:47 +00:00
Jim Kingdon
9d61147ec5 * xcoffread.c (xcoff_symfile_read): Only read stringtab and
debugsec if there are a non-zero number of symbols.
1993-03-17 19:06:32 +00:00
Ian Lance Taylor
8b4a5fafe1 * ecoff-ext.h (AUX_PUT_ANY): Don't use void values in branches of
conditional expression.
1993-03-17 17:46:58 +00:00
Rob Savoye
b73dd4a208 Make check target depend on all target. 1993-03-17 09:49:40 +00:00
Rob Savoye
29aa49d4ab Now has :make check" target. 1993-03-17 09:05:58 +00:00
Rob Savoye
e7d3b7d1fb "Make check" works much better. 1993-03-17 09:05:19 +00:00
Jim Kingdon
8112a7114b * xcoffexec.c (add_vmap): Wrap symbol read in catch_errors. 1993-03-17 04:07:29 +00:00
Jim Kingdon
c84a96d741 * 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.
1993-03-17 03:58:24 +00:00
Rob Savoye
521cce5909 Catch error on close so runtest won't bomb. 1993-03-17 02:04:20 +00:00
Fred Fish
400b81b5e6 * 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 ****
1993-03-16 23:48:09 +00:00
Per Bothner
76b527fa83 * Makefile.in: Add *clean rules. 1993-03-16 20:16:31 +00:00
Ken Raeburn
b47ca13f2a elf32.c, elf32-sparc.c changes 1993-03-16 18:37:51 +00:00
Stu Grossman
e829d98374 * 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.
1993-03-16 18:15:25 +00:00
Fred Fish
a2df03aa68 Add testsuite to list of things to save. 1993-03-16 14:09:12 +00:00
Fred Fish
d623fd7e03 Add dejagnu to list of directories to save. 1993-03-16 14:07:56 +00:00
Ian Lance Taylor
3d3c503955 * 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.
1993-03-15 23:58:22 +00:00
Ian Lance Taylor
6deb169cc8 * h8300.mt (DO_INSTALL): Renamed from INSTALL. 1993-03-15 23:49:48 +00:00
Ian Lance Taylor
f755298c5e * configure.in (h8300-*-*, h8500-*-*): Don't build libg++. 1993-03-15 23:47:19 +00:00
Ian Lance Taylor
8871eea22f * Makefile.in (GCC_FLAGS_TO_PASS): Reset some variables that gcc
doesn't use to avoid ARG_MAX overflow on SCO.
1993-03-15 23:45:33 +00:00
Ian Lance Taylor
a36f6645fb * config/obj-coffbfd.c (obj_coff_endef): Correct test for .bf
symbol.
1993-03-15 20:21:13 +00:00
Jim Kingdon
c8ade7191b *** empty log message *** 1993-03-15 17:45:08 +00:00
John Gilmore
01deac1217 Support 68000 series without floating point. (changed config name)
* configure.in (m68000-*-{aout,elf,coff}):  New configs.
1993-03-14 11:06:43 +00:00
John Gilmore
48a522d968 * configure.in (m68k-adobe-*): New config.
* tm-68k-nofp.h:  New file, lacks 68881 support.
* config/m68k-nofp.mt:  New file.
1993-03-14 10:58:48 +00:00
John Gilmore
84a05e5253 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.
1993-03-14 10:49:01 +00:00
John Gilmore
961ee88e92 * symmisc.c (std_in, std_out, std_err): Move initializations
to runtime code, in case they aren't constant.
1993-03-13 23:09:20 +00:00
David D. Zuhn
5f8d4bcbb9 consistent use of -solaris2* 1993-03-13 03:09:19 +00:00
David D. Zuhn
663a55364b consistent use of -solaris2* 1993-03-13 02:59:38 +00:00
David D. Zuhn
2a697fa47f consistent use of -solaris2* 1993-03-13 02:52:21 +00:00
David D. Zuhn
9f579565e5 * configure.in: canonicalize all instances to *-*-solaris2*,
also strip out a number of tools to not build for go32 host
1993-03-13 02:50:15 +00:00
K. Richard Pixley
aa8f32108d * 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.
1993-03-13 00:50:09 +00:00
K. Richard Pixley
a8172eea3d * mips-tdep.c (heuristic_proc_start): if we walk the pc into the fence
post without finding the enclosing function, then print a warning.
1993-03-13 00:32:10 +00:00
Jim Kingdon
2aefe6e4ae 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.
1993-03-12 23:12:59 +00:00
Jim Kingdon
2e0e34505d * rs6000-core.c: Add .ldinfo section. 1993-03-12 23:05:12 +00:00
Ian Lance Taylor
f2f7d044cd * expr.c, write.c: Ultrix native 4.2 cc requires assert condition
to be on a single line.
1993-03-12 20:01:28 +00:00
Ian Lance Taylor
204ae00cc1 * Makefile.in (MAKEOVERRIDES): Define to be empty. 1993-03-12 19:58:54 +00:00
Fred Fish
96b99583f4 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
expected output to match current "expect" expectations.
1993-03-12 16:50:38 +00:00
Steve Chamberlain
ad7009aa91 * section.c (bfd_set_section_contents): whitespacs
* seclet.c (seclet_dump_seclet): Don't try and fill sections with
	no contents.
1993-03-12 16:33:59 +00:00
David D. Zuhn
b3df94565a don't define POSIX_UTIME for go32, makes ar & ranlib happy again 1993-03-12 03:32:47 +00:00
Ken Raeburn
ed0998749a today's changes -- version number handling, config.h, as.c, EXIT_*, 68k changes 1993-03-12 03:10:49 +00:00
Ken Raeburn
4f6f4aa873 accept m683??, not just m683?2 1993-03-12 03:04:32 +00:00
Ken Raeburn
fc00f45193 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.
1993-03-12 02:58:15 +00:00
Ken Raeburn
e284846a8d Include new file config.h.
Handle some m683XX processor ids.
1993-03-12 02:39:03 +00:00
Ken Raeburn
f3ec63c251 Define EXIT_SUCCESS and EXIT_FAILURE if not already defined. 1993-03-12 02:29:11 +00:00
Fred Fish
5e81259d23 * 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 ****
1993-03-11 19:27:51 +00:00
Fred Fish
4a3df10afd * demangle.h (DMGL_NO_OPTS): Add define (set to 0) to use
in place of bare 0, for readability reasons.
1993-03-11 18:56:43 +00:00
Fred Fish
bd5d07d94c * 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.
1993-03-11 17:44:39 +00:00
Fred Fish
0b96ed0655 * Makefile.in (VERSION): Bump version to 4.8.2. 1993-03-11 02:40:29 +00:00
Fred Fish
d3b43da8a5 Document change to default.exp. 1993-03-11 02:04:16 +00:00