Commit Graph

6978 Commits

Author SHA1 Message Date
Per Bothner
6214eb23fd * Makefile.in: Add support for new libio. 1993-08-18 02:04:05 +00:00
Per Bothner
7c4dd2c82b New directory 1993-08-18 01:24:15 +00:00
Jim Kingdon
13cadf768b * hosts/i386{mach3,osf1mk}.h: New files, for Mach hosting.
* hosts/i386mach.h: removed, replaced by i386osf1mk.h.
	* config/i386mach3.mt, i386mach3.c: New files, for Mach a.out format.
	* Makefile.in, configure.host, config.bfd: Corresponding changes.
	* hosts/decstation.h: Include <sys/param.h> not <machine/param.h>.
1993-08-18 00:54:48 +00:00
Jim Kingdon
5670002f8f replaced by i386mach3.h 1993-08-17 23:11:08 +00:00
Jim Kingdon
5cd493edad new for mach 1993-08-17 22:50:20 +00:00
Jim Kingdon
48be4c355a * mips-tdep.c: Remove unused #ifndef NUMERIC_REG_NAMES and add comment. 1993-08-17 22:37:25 +00:00
Ian Lance Taylor
da6102634a * coffgen.c (coff_section_symbol): If section's output_section is
not yet set, point to itself.  This is needed because this is
	called on the output file, not the input file.
1993-08-17 22:30:24 +00:00
K. Richard Pixley
637603f9e3 * config/m88k/tm-m88k.h: Fix typo in comment.
(FP_REGNUM): define in terms of SP_REGNUM
	  rather than by absolute number.  Also clearly comment that this
	  is a convenient lie in order to decrease future confusion.
	  (ACTUAL_FP_REGNUM): new macro for FP.
	  (FRAME_CHAIN_VALID): removed.  Standard default works fine.
	* m88k-tdep.c (frame_chain_valid): redundant, so removed.
	  (NEXT_PROLOGUE_INSN): removed unused fourth arg, fixed all
	  callers.
	  (read_next_frame_reg): declare static.
	  (examine_prologue): removed unused variabel insn2, rename insn1
	  to insn, rewrote comment about finding fp, sp, etc. set frame_fp
	  based on ACTUAL_FP_REGNUM rather than FP_REGNUM which is
	  actually a scammed alias for SP_REGNUM on m88k.
1993-08-17 22:21:50 +00:00
K. Richard Pixley
2f03f9a6c6 fixed typo in comment 1993-08-17 22:11:32 +00:00
Jim Kingdon
e7bb76cc16 * stabs.texinfo (Stack Variables): Re-write. 1993-08-17 21:28:42 +00:00
Ian Lance Taylor
ec83e70497 * coff-rs6000.c (dummy_reloc, RTYPE2HOWTO): Set howto field to a
dummy value, rather than leaving it NULL.
1993-08-17 20:11:39 +00:00
Ian Lance Taylor
ddddcdf0f3 * ldlang.c (open_output, lang_check): Check return value of
bfd_set_arch_mach.
1993-08-17 19:25:18 +00:00
Ian Lance Taylor
2e235c9319 * archures.c (bfd_default_set_arch_mach): Set bfd_error on
failure.
	* aoutx.h (NAME(aout,set_arch_mach)): Check return value of
	bfd_default_set_arch_mach.
1993-08-17 19:24:21 +00:00
Jim Kingdon
c307bb118b * main.c (cd_command): If current_directory on entry is "/", then
don't append an extra slash.
	Don't assume that /../.. means /.
1993-08-17 18:03:15 +00:00
Jim Kingdon
b80bd1e064 * 29k-share/udi/udiphcfg.h: Always include udiphunix.h not udiphdos.h. 1993-08-17 17:33:28 +00:00
Jim Kingdon
4f1afa1641 * complaints.c (complain): fflush (stdout) after output. 1993-08-17 16:49:11 +00:00
David MacKenzie
ed2fe80fb5 don't pass cpu to config.bfd 1993-08-17 16:45:41 +00:00
David MacKenzie
49df10b142 Tue Aug 17 09:42:16 1993 David J. Mackenzie (djm@thepub.cygnus.com)
* config.bfd (cpu): Extract from canonical name with sed.
	* configure.in: Don't pass it.
1993-08-17 16:43:52 +00:00
Ian Lance Taylor
e9a3035799 * m88k-dis.c (m88kdis): Make class unsigned. 1993-08-17 16:24:38 +00:00
Steve Chamberlain
ea1c0ad276 * scripttempl/h8500.sc: Start all sections in a different segment.
* scripttempl/z8ksim.sc: Handle constructors
1993-08-17 14:04:24 +00:00
Peter Schauer
7b98a09136 * config/i386/tm-i386bsd.h (SIGTRAMP_START, SIGTRAMP_END, FRAME_CHAIN,
FRAMELESS_FUNCTION_INVOCATION, FRAME_SAVED_PC, SIGCONTEXT_PC_OFFSET):
	Define to make backtracing through sigtramp work.
	* config/vax/tm-vax.h (SIGTRAMP_START, SIGTRAMP_END, TARGET_UPAGES,
	FRAME_SAVED_PC, SIGCONTEXT_PC_OFFSET):  Ditto.
1993-08-17 08:49:07 +00:00
Peter Schauer
d541211d61 * blockframe.c, frame.h (sigtramp_saved_pc): New routine to fetch
the saved pc from sigcontext on the stack for BSD signal handling.
	* config/i386/tm-i386bsd.h (SIGTRAMP_START, SIGTRAMP_END, FRAME_CHAIN,
	FRAMELESS_FUNCTION_INVOCATION, FRAME_SAVED_PC, SIGCONTEXT_PC_OFFSET):
	Define to make backtracing through sigtramp work.
	* config/vax/tm-vax.h (SIGTRAMP_START, SIGTRAMP_END, TARGET_UPAGES,
	FRAME_SAVED_PC, SIGCONTEXT_PC_OFFSET):  Ditto.
1993-08-17 08:47:25 +00:00
Jim Kingdon
b606bd8df4 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
doesn't exist (due to optimization).
1993-08-17 05:07:15 +00:00
Jim Kingdon
c31a3b2a3b * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
contains \r because the filename is long.
1993-08-17 04:21:55 +00:00
Jim Kingdon
935d305dcc * stabs.texinfo (Stabs-in-elf): Talk about getting the start
addresses of a source file.  Also revise formatting.
	Change "object module" or "object file" to "source file".
	Various: Miscellaneous cleanups.
1993-08-17 03:23:50 +00:00
Jim Kingdon
0e0b4e647c * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
'continue'" bug, and change xfail back to i*86-univel-sysv4*.
1993-08-17 02:11:23 +00:00
David D. Zuhn
ae8c28f8fc use coffbfd for z8k 1993-08-16 21:17:04 +00:00
Jim Kingdon
1109373ad4 * stack.c (frame_info, print_frame_info): Add comment about using
the starting source line number on a line boundary if backtracing
	through sigtramp.
1993-08-16 18:57:30 +00:00
Peter Schauer
c67d08e89b * config/m68k/tm-m68k.h (SIG_PC_FP_OFFSET, SIG_SP_FP_OFFSET):
Define for correct handling of bachtraces through _sigtramp.
1993-08-16 10:13:22 +00:00
Peter Schauer
adce222501 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
gdb.t08/opaque.exp, gdb.t17/interrupt.exp:  Update for vax running
	Ultrix.
	* gdb.t02/whatis.exp:  Use procedure to setup xfails on long versus
	int tests.
	* gdb.t08/opaque.exp:  Use procedure to setup xfails for opaque tests.
1993-08-16 10:06:20 +00:00
Peter Schauer
dff84871e9 * blockframe.c (create_new_frame, get_prev_frame_info):
Use the function name when calling IN_SIGTRAMP.
	* config/m68k/tm-m68k.h (SIG_PC_FP_OFFSET, SIG_SP_FP_OFFSET):
	Define for correct handling of bachtraces through _sigtramp.
	* m68k-tdep.c (m68k_find_saved_regs):  Adjust saved sp for fake
	sigtramp frames.
	* mipsread.c (parse_type):  Handle corrupt TIR info with complaint
	instead of core dump.
	* mipsread.c (parse_partial_symbols):  Put static symbols into the
	mimimal symbol table, use proper mst_types for all minimal symbols.
	* stack.c (frame_info, print_frame_info):  Use the starting source
	line number on a line boundary if backtracing through sigtramp.
1993-08-16 10:03:57 +00:00
Peter Schauer
4fd0b84ea3 * blockframe.c (create_new_frame, get_prev_frame_info):
Use the function name when calling IN_SIGTRAMP.
	* config/m68k/tm-m68k.h (SIG_PC_FP_OFFSET, SIG_SP_FP_OFFSET):
	Define for correct handling of bachtraces through _sigtramp.
	* m68k-tdep.c (m68k_find_saved_regs):  Adjust saved sp for fake
	sigtramp frames.
	* mipsread.c (parse_type):  Handle corrupt TIR info with complaint
	instead of core dump.
	* mipsread.c (parse_partial_symbols):  Put static symbols into the
	mimimal symbol table, use proper mst_types for all minimal symbols.
	* stack.c (frame_info, print_frame_info):  Use the starting source
	line number on a line boundary if backtracing through sigtramp.
1993-08-16 09:58:26 +00:00
Jim Kingdon
731b07201a * install.sh: If one command fails, don't try the rest. Don't try
to remove $dsttmp (via trap) unless we have already created it.
	If $src doesn't exist, detect it and exit with an error.
1993-08-16 02:49:53 +00:00
Jim Kingdon
e45500abea * configure.host: Make sure all OS fields end in *. 1993-08-16 02:09:54 +00:00
Jim Kingdon
08a0da685e * config.guess: Recognize BSD on hp300. 1993-08-16 01:50:58 +00:00
David D. Zuhn
c262769a5f update targets 1993-08-14 20:49:12 +00:00
K. Richard Pixley
be58e87e08 hacking, whacking, and bug fixing. 1993-08-13 23:04:45 +00:00
K. Richard Pixley
4f4649a7e7 * Makefile.in (remote-bug.o): new rule.
(ALLDEPFILES): added remote-bug.c
1993-08-13 21:52:10 +00:00
K. Richard Pixley
e93790f05e * remote-hms.c (hms_wait): use -1 for timeout's which means block
forever rather than 99999.
1993-08-13 21:49:51 +00:00
K. Richard Pixley
057c2f4773 * ser-unix.c (get_tty_state): if a descriptor is not a tty, then
simply save encode this fact as the process group and return
	  success rather than an error.
	  (set_tty_state): if process group is -1, do not reset the
	  process group.
	  (hardwire_reachar): comment change.
1993-08-13 21:48:39 +00:00
K. Richard Pixley
0e5f1b37f6 comment change 1993-08-13 21:47:01 +00:00
K. Richard Pixley
f2f848b822 * config/m88k/tm-m88k.h: comment change to remove embedded
comment.
	  (SKIP_PROLOGUE): skip_prologue returns a value which is expected
	  to reset the pc argument.  So reset it.
1993-08-13 21:45:31 +00:00
Sean Eric Fagan
2ea5f3252a Use BFD to determine what a symbol prefix is, be better about determining
which symbols to study, and divide by the correct amount.
1993-08-13 21:38:41 +00:00
Ian Lance Taylor
1095e08dba * nlmcode.h (nlm_write_object_contents): procedure offsets are
from start of code segment, not start of file.
	* config/i386-nlm.mt (DEFAULT_VECTOR): It's nlm32_i386_vec, not
	bfd_nlm32_i386_vec.
	* configure.in (SELECT_VECS switch): Likewise.
1993-08-13 20:38:02 +00:00
Fred Fish
5069d77051 * Makefile.in (VERSION): Bump to 4.10.1 after release and cvs
tagging.
1993-08-13 17:17:16 +00:00
Jim Kingdon
ff1cdb40d9 * gdbserver/Makefile.in: Use GDBSERVER_LIBS and
GDBSERVER_DEPFILES.  Also remove much (but not all that could be
	removed) crud inherited from gdb Makefile.in.
	* config/i386/i386lynx.mh, config/sparc/sun4os4.mh: Define GDBSERVER_*.
	* gdbserver/README: Say it works on Sun and change configuration
	instructions slightly.
1993-08-13 02:05:47 +00:00
David MacKenzie
cba949c5a3 * format.c (bfd_check_format): If the target matches the default
target, set match_count to 1, to ignore any previous matches.
1993-08-13 00:34:19 +00:00
David MacKenzie
dc4fba51d2 remove mention of nm 1993-08-13 00:11:22 +00:00
David MacKenzie
d6a4c37569 * Makefile.in ($(NM_PROG)): Depend on demangle.o.
(demangle.o): New target.
	(cplus-dem.o): Depend on it, to force compilation order when doing
	parallel compiles.

	* nm.c (print_symbol_info_{bsd,sysv,posix}): Take a bfd arg.
	(struct output_fns print_symbol_info): Ditto.
	(long_options, usage, main): Add -C --demangle option.
	(print_symname): New function, demangling if requested.
	(print_symbols, print_symbol_info_{bsd,sysv,posix}): Use it.
1993-08-13 00:02:25 +00:00
Jeffrey Wheat
8b46d73404 added support for the original "make chech-cdtest" 1993-08-12 23:20:25 +00:00