Commit Graph

6792 Commits

Author SHA1 Message Date
Fred Fish a88797b5ea * inflow.c (pass_signal): Signal handlers take one int arg;
supply an unused one to make it type compatible as an arg to
	signal().
1993-08-05 01:33:45 +00:00
David MacKenzie c2b781a26e make failure nonfatal 1993-08-05 00:20:27 +00:00
Ken Raeburn 046dc4bce1 v9 changes 1993-08-04 23:11:31 +00:00
Ken Raeburn 693b21e75a * obj-elf.c (obj_elf_stab_generic, in disabled code): If
debug section is new, allocate an extra 12 bytes at its start.  If
".stabs" type is N_SO, fill in filename symbol field of that first
entry.  Return early if "goof", to simplify later code slightly.
(adjust_stab_sections): New function.
(elf_frob_file): Apply adjust_stab_sections to each section.

* obj-elf.c (obj_elf_section, obj_elf_previous): No longer static.
* obj-elf.h (obj_elf_section, obj_elf_previous): Declare.
* tc-sparc.c (md_pseudo_table): Call them for "pushsection"
and "popsection", and call cons for "uaword" and "uahalf".

* obj-elf.c (obj_elf_version): Use English in error messages.

* tc-sparc.c (md_apply_fix, case BFD_RELOC_64): New case,
parallel to BFD_RELOC_32.
(tc_gen_reloc): Accept BFD_RELOC_64.
1993-08-04 23:10:43 +00:00
Ian Lance Taylor 7389debf1c * libnlm.h (nlm_backend_data): Added nlm_mangle_relocs.
(nlm_mangle_relocs_func): New macro.
	* nlm32-i386.c (nlm_i386_write_reloc): Rewrote correctly.
	(nlm_i386_mangle_relocs): New function.
	* nlmcode.h (nlm_compute_section_file_positions): Move all common
	symbols into the .bss section.
	(nlm_set_section_contents): Call the mangle_relocs function.
	(nlm_write_object_contents): Treat a reloc against any defined
	symbol as an internal reloc.  Fix bug in external reloc counting.
	Get the offset and debugging type right for .bss symbols.  Only
	output debugging symbols for defined symbols.
1993-08-04 20:25:53 +00:00
Steve Chamberlain cdbcb08c10 Keep h8300h.sc 1993-08-04 17:24:11 +00:00
Steve Chamberlain 8f20740950 Keep h8300h.em 1993-08-04 17:23:30 +00:00
Steve Chamberlain e85fd7216e Keep m88kbcs.em 1993-08-04 17:19:22 +00:00
Ian Lance Taylor e4b6b3e71b * coff-h8500.c (rtype2howto): Do an fprintf to stderr rather than
using printf.
	* coff-z8k.c (rtype2howto): Likewise.
	* coffcode.h (dummy_reloc16_extra_cases): Likewise.
	* elf32-i386.c (TRACE): Likewise.
	* hp300hpux.c (convert_sym_type, swap_std_reloc_in): Likewise.
	* rs6000-core.c (rs6000coff_get_section_contents): Likewise.
	* coffgen.c (coff_print_symbol): Do an fprintf to the file
	argument rather than using printf.
1993-08-04 16:36:10 +00:00
David Edelsohn eea92b2442 Rename sigm insn to sir.
Change impdep insn from [1+2],d to 1,2,d.
1993-08-04 05:12:50 +00:00
Ian Lance Taylor 48edba8191 With these changes, the binutils mostly work on the Alpha, except for
objdump -r.

	* coffswap.h: Added macros used when accessing several fields;
	default is the same as before.
	(coff_swap_aouthdr_{in,out}): Handle the Alpha ECOFF fields.
	* coff-alpha.c: Defined macros to use the right sizes in
	coffswap.h.
	* libecoff.h: Backend information is now in target vector, not
	BFD.  Start of backend information is COFF backend information.
	* coff-alpha.c, coff-mips.c: Changed accordingly.
	* ecoff.c (ecoff_mkobject): New function.
	(ARMAP_START): Changed into backend information, since Alpha uses
	a different name.
	(ecoff_slurp_armap): Don't overlay archive header.
	* bfd.c: Include libcoff.h.
1993-08-04 01:37:25 +00:00
Ian Lance Taylor 05e9e18869 * config/mips/tm-mips.h: Include bfd.h before coff/sym.h. 1993-08-04 01:35:35 +00:00
Fred Fish ad6feb0847 * gdb.t09/Makefile.in (clean): Remove corefile. 1993-08-04 01:29:26 +00:00
Fred Fish 8e92ade7e8 * Makefile.in (ALLCONFIG): Add config/i386/i386nw.mt,
config/m68k/delta68.mh, config/m68k/delta68.mt,
	config/m68k/dpx2.mh, config/m68k/dpx2.mt, config/mips/riscos.mh,
	config/mips/news-mips.mh.
	* Makefile.in (ALLPARAM):  Add config/i386/nm-symmetry.h,
	config/i386/tm-i386nw.h, config/m68k/nm-delta68.h,
	config/m68k/tm-delta68.h, config/m68k/xm-delta68.h,
	config/m68k/nm-dpx2.h, config/m68k/tm-dpx2.h,
	config/m68k/xm-dpx2.h, config/mips/xm-makeva.h.
	* Makefile.in (ALLDEPFILES):  Add dpx2-nat.c.
1993-08-04 01:17:30 +00:00
David MacKenzie ed78872a7f fix doc bug 1993-08-04 00:39:19 +00:00
David MacKenzie 5d4c714ebd fix syntax error 1993-08-04 00:28:19 +00:00
David MacKenzie eca6fef226 make a common extern 1993-08-03 23:37:45 +00:00
David MacKenzie 1cd4cca9bf add more info about -warn-common 1993-08-03 23:09:03 +00:00
David MacKenzie 2a28d8b006 add -warn-common option 1993-08-03 22:47:28 +00:00
Fred Fish b6e7553c42 * nlm_slurp_symbol_table: Don't use '&' on arrays. 1993-08-03 22:22:13 +00:00
Ian Lance Taylor e906e7fa5f * mipsread.c: Updated for BFD ECOFF changes. Now gets the
swapping routines and external structure sizes via the
	ecoff_backend information.  No longer includes coff/mips.h.
1993-08-03 20:27:06 +00:00
Ian Lance Taylor 4573d18601 * config/obj-ecoff.c: Updated for BFD ECOFF changes. Now gets the
swapping routines and external structure sizes via the
	ecoff_backend information.  No longer includes coff/mips.h.
1993-08-03 20:25:58 +00:00
Ian Lance Taylor 045f6b66d3 * ecoff.h: New file.
* alpha.h, mips.h: Moved common information into ecoff.h.  Moved
	external structure definitions in from ecoff-ext.h.
	* ecoff-ext.h: Removed; information now in alpha.h and mips.h.
1993-08-03 20:24:54 +00:00
Ian Lance Taylor dae31cf51b * ecoff.c: New file for generic ECOFF functions.
* ecoffswap.h: New file for ECOFF swapping functions which differ
	only slightly for different targets.
	* libecoff.h: Added prototypes for ecoff.c functions.
	(ecoff_backend_data): New structure.
	(ecoff_tdata): Added backend_data field.  Changed external data
	pointers to be PTR rather than to a particular struct.
	(ecoff_symbol_struct): Moved in from coff-mips.c.
	* coff-alpha.c, coff-mips.c: Moved common functions into ecoff.c.
	Added ECOFF backend structures.  Include ecoffswap.h.
	* coff-msym.c: Removed; superseded by ecoffswap.h.
	* bfd.c: Include coff/internal.h.
	* Makefile.in (BFD_LIBS): Removed coff-mips.o and coff-msym.o.
	Added ecoff.o.
	(BFD64_BACKENDS): Added coff-alpha.o.
	(CFILES): Removed coff-msym.c.  Added ecoff.c.
	(bfd.o): Added dependency on $(INCDIR)/coff/sym.h.
	(coff-mips.o): Added dependency on ecoffswap.h and coff/ecoff.h.
	(ecoff.o, coff-alpha.o): New targets.
	(coff-msym.o): Removed target.
1993-08-03 20:22:47 +00:00
Fred Fish 511e0322b9 * Makefile.in (SFILES): Add thread.c 1993-08-03 18:02:19 +00:00
David Edelsohn 6eb0b28399 * remote-sp64sim.c (simif_create_inferior): Add FIXME regarding
sim_set_args return code.
1993-08-03 17:25:23 +00:00
Stu Grossman b367204f7f Keep server.h. 1993-08-03 08:51:51 +00:00
John Gilmore e49d537916 * elf32-hppa.h, hosts/*: Remove (one more time) all occurrances
of EXFUN in the BFD sources.  Heave ho!
1993-08-03 06:36:30 +00:00
K. Richard Pixley 90fcdfbfcf Bumped version to 4.9.4. 1993-08-03 00:59:45 +00:00
K. Richard Pixley 203a8d5488 Added remote-bug.c. 1993-08-03 00:55:55 +00:00
David MacKenzie 3e27cc11c4 don't list objfiles... as an option 1993-08-03 00:33:38 +00:00
K. Richard Pixley 5905161c08 * remote-monitor.c: updated copyright.
(bug_ops, monitor_desc): now static.
	  (monitor_desc): in several places, check and/or set to NULL.

	* remote-hms.c (hms_files_info): Add the appropriate items where
	  missing in the printf call.

	* remote-bug.c: new file for m88k bug support.

	* config/m88k/m88k.mt (TDEPFILES): added remote-bug.o.
1993-08-02 23:54:27 +00:00
Fred Fish b5ed6e32c2 Remove '.Sanitize' from explicit list of Things-to-lose. It is now implicitly
added to the list by Sanitize, unless Sanitize knows it needs to keep it.
1993-08-02 23:29:32 +00:00
Steve Chamberlain a305925112 * h8300-tdep.c: Use new variable h8300hmode. 1993-08-02 22:54:01 +00:00
Steve Chamberlain 969699760a Use variable h8300hmode. 1993-08-02 22:52:34 +00:00
Jim Kingdon 802d630846 * valops.c (typecmp): If we are passing a non-reference to a function
which takes a reference, pass the address.
	(value_arg_coerce): Don't use COERCE_ENUM; we don't want to dereference
	references here.
1993-08-02 22:41:50 +00:00
Ian Lance Taylor 4c7ff23d32 * config/obj-ecoff.c (get_tag): Save tag name in permanent memory
and in hash_ptr->string.
1993-08-02 22:28:25 +00:00
Jim Kingdon 3082244d35 * thread.c (thread_switch): Define as static.
(add_thread): Cast return value from xmalloc.
1993-08-02 22:13:32 +00:00
John Gilmore 8828c36866 Move enum outside of struct defn to avoid warnings. 1993-08-02 21:46:23 +00:00
Ian Lance Taylor b4703fa618 * app.c (do_scrub_next_char): Reset state to 0 after .appline if
file name is not seen.
1993-08-02 21:39:05 +00:00
Steve Chamberlain f412eb92fe Configure for h8300h too. 1993-08-02 21:19:38 +00:00
Jim Kingdon ac88287fa2 * gdbtypes.c (fill_in_vptr_fieldno): Call check_stub_type.
* gdbtypes.{c,h}: Improve comments on vptr_fieldno.
1993-08-02 19:21:04 +00:00
David D. Zuhn 19d06401a4 remove some conflicting decls 1993-08-02 19:18:38 +00:00
Fred Fish c178776de4 (I could have sworn I checked this change in a couple days ago, but it
showed up in a cvs diff, so here it is again...)
	* README:  Elaborate on gdb C++ support and cfront support.
1993-08-02 19:03:15 +00:00
David D. Zuhn eb4b02ae07 add support for CONFIG_SHELL 1993-08-02 18:58:17 +00:00
David D. Zuhn 357561a615 add a trap to ensure tmp files are removed 1993-08-02 18:52:12 +00:00
Stu Grossman 78e551e560 Mon Aug 2 11:48:23 1993 Stu Grossman (grossman at cygnus.com)
* i386lynx.c:  Remove unnecessary def of N_HEADER_IN_TEXT,
	redefine TEXT_START_ADDR to be 0.
1993-08-02 18:50:02 +00:00
David MacKenzie 68dd529571 add nm -B 1993-08-02 18:41:14 +00:00
Stu Grossman da0baf42e1 Mon Aug 2 11:30:57 1993 Stu Grossman (grossman at cygnus.com)
* i386lynx-nat.c, thread.c, thread.h:  Update copyrights.
1993-08-02 18:33:21 +00:00
Jim Kingdon a92499baaf * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
NO_SINGLE_STEP machines.  Fix comment about its cause.  Uncomment
	the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
1993-08-02 17:38:08 +00:00