Commit Graph

6913 Commits

Author SHA1 Message Date
David MacKenzie 22d276b1c0 Finish the minimizing, the right way (using normal target names).
Thu Aug 12 10:32:47 1993  David J. Mackenzie  (djm@thepub.cygnus.com)

	* config/u68k-coff.mt: Fix typo, DEFAULT_TARGET for
	DEFAULT_VECTOR.

	* config/h8300-coff.mt, h8500-coff.mt, sh-coff.mt, st2000.mt,
	z8k-coff.mt (DEFAULT_VECTOR): Define.  Don't explicitly add
	S-records via SELECT_VECS.

	* targets.c (target_vector), Makefile.in (BFD_LIBS): Always
	support S-records, for convenience.

	* config.bfd: New file, broken out of configure.in.

	* configure.in: Use it, and use standard target names for
	--with-targets, replacing --with-bfd-targets.
1993-08-12 17:55:52 +00:00
Ian Lance Taylor 786e4f1a5f * mips-opc.c: Added lwc1 E,A(b) to go with lwc1 T,A(b). Similarly
for swc1.
1993-08-12 16:07:37 +00:00
Jeffrey Wheat d301e438b5 check targets reimplemented to old way. 1993-08-12 15:54:30 +00:00
Ian Lance Taylor 0aa07269cf * config/tc-mips.c (mips_ip): Suggested by
davidj@ICSI.Berkeley.EDU (David Johnson): Don't accept symbolic
	names for 'E' and 'G' argument types (coprocessor registers) and
	don't warn if $1 is used on the coprocessor.
1993-08-12 15:52:57 +00:00
Ian Lance Taylor 8e2184bda0 * bfd.c (_bfd_host_big_endian): Removed.
* bfd-in.h (HOST_BYTE_ORDER_BIG_P, bfd_header_twiddle_required):
	Removed.
	* bfd-in2.h: Regenerated.
1993-08-12 15:33:12 +00:00
Ian Lance Taylor ee0af83fbe * ar.c: Removed obsolete and non-functional GNU960 code. 1993-08-12 15:27:38 +00:00
John Gilmore 7a7d682b98 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
to here.
* config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
Remove various versions of gdb_exit.
* config/vx-gdb.exp:  Remove quit_vxgdb, change a caller to call
gdb_exit.
* config/unix-gdb.exp:  gdb_exit remains here, and should override
the generic version, since it's doing a lot of wierd stuff that
the other versions aren't.  FIXME, fold it in, or abandon this
version.
1993-08-12 02:51:51 +00:00
David MacKenzie a339de272f more cleanups 1993-08-12 02:32:34 +00:00
David MacKenzie 3c957a61b3 really do last change 1993-08-11 23:24:06 +00:00
David MacKenzie 161bb4082c * configure.in: Include coff-m68k.o for m68kcoffun_vec.
Include nlm32.o and nlm.o for bfd_nlm32_i386_vec.
1993-08-11 23:22:06 +00:00
Jim Kingdon ae87844d7b * remote-{monitor,bug}.c: Make bug_ops not static (forward declaration
of statics doesn't work with SunOS4 /bin/cc).
	Rename the occurrence in remote-monitor.c to monitor_bug_ops.
1993-08-11 23:12:02 +00:00
Jason Merrill ac259c28f0 * Makefile.in (all-send-pr): depends on all-prms 1993-08-11 22:39:09 +00:00
David MacKenzie 1a10f9a2dd Make bfd_error_vector extern. 1993-08-11 22:37:23 +00:00
Jim Kingdon 523ef1219e * blockframe.c (find_pc_partial_function),
mips-tdep.c (find_proc_desc): Deal with "pathological" case.
1993-08-11 22:14:09 +00:00
Jim Kingdon d171114548 * config.guess: Fix typo (9000/8??:4.3bsd -> 9000/7??:4.3bsd). 1993-08-11 21:59:50 +00:00
Ian Lance Taylor 29078b295d * size.c (berkeley_sum): New function.
(bsssize, datasize, textsize): New global variables.
	(bss_section_name, data_section_name, text_section_name): Removed.
	(print_berkeley_format): Map berkeley_sum over all the sections,
	rather than only reporting sizes of specifically named sections.
	* Makefile.in ($(OBJDUMP_PROG)): Removed dependency on size.o.
1993-08-11 20:14:37 +00:00
Jim Kingdon 48c95e5b9f * gdb.t24/demangle.exp: Add tests for PR 3220. 1993-08-11 19:59:27 +00:00
David MacKenzie c4726c0fe3 Include stab-syms.o for a.out/b.out targets and hp300{bsd,hpux}. 1993-08-11 19:16:21 +00:00
Ian Lance Taylor d62026add2 * config/i386v.mh, config/irix4.mh: Use gcc
-print-libgcc-file-name rather than $(libdir)/libgcc.a.
1993-08-11 19:14:25 +00:00
Ian Lance Taylor d92aadfd5a Write out all the header information, except the SHARELIB stuff which
is still not implemented.
1993-08-11 18:30:39 +00:00
Ian Lance Taylor 792b5f025d * nlmcode.h (nlm_compute_section_file_positions): Add the .bss
section before setting output_has_begun.
	(nlm_set_section_contents): Remove argument names from
	mangle_relocs_func prototype.
	(nlm_write_object_contents): Remove shadowing local variable.
	Don't write out debugging symbols if debugInfoOffset is -1.  Add
	the codeImageOffset to the start, exit, and check procedure
	offsets.
	* nlm32-i386.c (nlm_i386_write_reloc, nlm_i386_mangle_relocs):
	Don't check partial_inplace field; its value is irrelevant.
1993-08-11 18:30:08 +00:00
Ian Lance Taylor 75fe54719c * config/i386sco.mh: New file; copy of i386v.mh to correspond to
bfd/configure.host change.
1993-08-11 15:57:39 +00:00
Ian Lance Taylor e2f4c2884c * Base use of sco-core on host, not target.
* configure.host (i[34]86-*-sco*): Use i386sco rather than i386v.
	* config/i386-sco.mt (TDEFINES): Removed.
	* config/i386sco.mh: New file to use sco-core.
	* hosts/i386sco.h: New file; just includes hosts/i386v.h.

Not needed for gdb 4.10.
1993-08-11 15:56:14 +00:00
Ian Lance Taylor fbffaf55b8 * ecoffswap.h (ecoff_swap_{hdr,ext}_{in,out}): Use signed
conversions for some fields.
1993-08-11 13:42:17 +00:00
Fred Fish e024d80c74 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
"i386-*-*".  Works for i486 as well.
1993-08-11 00:48:54 +00:00
Stan Shebs 69f660c69c Removed many junk machine-collected "conditionals", described some
legit ones.
1993-08-11 00:02:01 +00:00
Fred Fish 5ad3ae4ad9 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
bug, and expand domain of xfail to all SVR4 systems, since the
	actual problem is likely to be in generic SVR4 /proc support.
1993-08-10 22:49:01 +00:00
Jim Kingdon 283bd6dbf2 * config/unix-gdb.exp (gdb_load): Add eof to expect statement. 1993-08-10 21:09:41 +00:00
Jim Kingdon ae039ff3ca * config/unix-gdb.exp (gdb_load): Add eof to expect statement. 1993-08-10 20:56:52 +00:00
Jim Kingdon 0f1b1bcc12 * objfiles.h (struct objfile): Clean up comments for
{obj,sym}_private to clarify what they are private to.
1993-08-10 19:57:41 +00:00
Jim Kingdon c1cd5aecbb * gdbint.texinfo (Getting Started): Use @itemize, not @table.
* gdbint.texinfo (Top): Add name to @top line, and re-write the
	paragraph which follows.

	* gdbint.texinfo (Host): Use @code not @samp for Makefile
	variables.  Looks better and avoids overful hbox.
1993-08-10 19:05:52 +00:00
Fred Fish 869cfa9fd5 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
xfails for other systems.  Match a missing 'Continuing.' as an
	explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
1993-08-10 18:42:20 +00:00
Ian Lance Taylor d130c9c5b9 Added new files. 1993-08-10 17:50:28 +00:00
Ian Lance Taylor 4f55ef5bdb Checkpoint of NLM conversion program.
* nlmconv.c, nlmconv.h, nlmheader.y: New files for program to
	convert object files into NetWare Loadable Modules.
	* Makefile.in (NLMCONV_PROG): New macro, define to be nlmconv.
	(PROGS): Add NLMCONV_PROG.
	(nlmheader.c, nlmheader.o, nlmconv.o, $(NLMCONV_PROG)): New
	targets.
1993-08-10 17:49:44 +00:00
Ian Lance Taylor 53a6ff7e1d * libnlm.h (struct nlm_backend_data): Added mach field.
(nlm_machine): New accessor macro.
	* nlm.c (nlm_mkobject): Set architecture and machine from backend
	information.
	* nlm32-i386.c (nlm32_i386_backend): Initialize new mach field.
1993-08-10 17:41:17 +00:00
Fred Fish adf18b2460 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
	Only issue warning for missing executables if -all option is used.
1993-08-10 17:31:45 +00:00
Fred Fish c0398b8bd4 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
file if -all option is used.  It's like an unpredictable XFAIL.
1993-08-10 16:58:44 +00:00
David MacKenzie 7505d16f52 Replace calls to sort with shell code 1993-08-10 16:35:12 +00:00
Ken Raeburn 509f081ec9 configure.in: Include aout32.o for any a.out/b.out formats. 1993-08-10 16:23:32 +00:00
David MacKenzie 91fd30d46c mention that [section] is no longer supported 1993-08-10 16:12:30 +00:00
David MacKenzie 505f714f81 support COFF on ELF systems 1993-08-10 05:01:12 +00:00
Stan Shebs 48f075eb2a Moved the function hashname from stabsread.c to buildsym.c, since
it's a general-purpose function.
1993-08-09 23:49:18 +00:00
David D. Zuhn 716f859496 add support for dosutils 1993-08-09 23:07:09 +00:00
Jim Kingdon 59556ad0a4 * gdbcore.h: New variable gnutarget.
* core.c: Add commands to set and show it.
	* Callers to bfd_*open*: Pass gnutarget instead of NULL as target.
	* environ.c (set_in_environ): For GNUTARGET, use set_gnutarget not
	putenv.
1993-08-09 21:36:49 +00:00
Jim Kingdon 525390a20c * remote-udi.c: Make udi_ops extern rather than trying forward
declaration of a static variable.
1993-08-09 21:12:01 +00:00
Ken Raeburn e5c5fbca67 include elf doc 1993-08-09 20:31:30 +00:00
David MacKenzie a9ded3ac7f add @finalout 1993-08-09 20:23:53 +00:00
K. Richard Pixley 5757d35bba config/m88k-coff.mt (DEFAULT_VEC -> DEFAULT_VECTOR): renamed. 1993-08-09 20:17:40 +00:00
Ian Lance Taylor 41efeb59a0 * bfd-in.h (bfd_get_architecture, bfd_get_machine): Removed
obsolete macros.
	* bfd-in2.h: Updated.
1993-08-09 20:08:16 +00:00
Jim Kingdon 8a99c71208 * hppab-nat.c: Define ptrace to call_ptrace and pass the 5th arg
there, rather than using an ANSI C specific macro.
1993-08-09 20:07:25 +00:00