Commit Graph

6902 Commits

Author SHA1 Message Date
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
Jim Kingdon
3241e35dd9 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
for dynamically linked binaries.
1993-08-09 19:52:37 +00:00
Ken Raeburn
e543618c75 code changes to syms.c bfd.c 1993-08-09 19:27:43 +00:00
Ken Raeburn
ef758f3ee8 regenerated 1993-08-09 19:25:56 +00:00
Jim Kingdon
a2fbd4c8e9 * 29k-share/udi/udr.c: Include fcntl.h not sys/fcntl.h. Also put
sys/types.h near the top (just on general principles).
1993-08-09 19:17:04 +00:00
Ken Raeburn
36d701ab49 sanitize targets.c 1993-08-09 19:16:24 +00:00
Ian Lance Taylor
3036933a88 * ecoff.c (ecoff_slurp_armap): Correct bug in initialization of
stringbase.
1993-08-09 18:32:39 +00:00
Jim Kingdon
b992d16b88 * environ.c (set_in_environ): Remove G960BASE and G960BIN; they are
no longer used.
1993-08-09 17:49:27 +00:00
Ken Raeburn
6a9cf6fa53 * write.c (merge_data_into_text): Define only if BFD_ASSEMBLER is
defined or BFD is not.
	(relax_and_size_all_segments): Declare local variable fragP.
1993-08-09 17:40:58 +00:00
Jim Kingdon
0685d95ff4 * 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.

	* symtab.c (decode_line_1): Give error on unmatched single quote.
1993-08-09 16:53:32 +00:00
Jim Kingdon
95a98b5efa * ser-unix.c (hardwire_send_break) [HAVE_SGTTY]: Use select not usleep. 1993-08-08 21:02:37 +00:00
Jim Kingdon
3da5198c07 * remote.c: Add comments about 'd', 'r', and unrecognized requests.
* inflow.c (terminal_init_inferior): Don't muck with tty state if
	gdb_has_a_terminal() is false.
1993-08-08 20:11:10 +00:00