Commit Graph

3673 Commits

Author SHA1 Message Date
John Gilmore
cb1d36fc73 * copying.awk, copying.c (show_copying_command,
show_warranty_command):  Rename from copying_info, warranty_info,
to match command function conventions.
1992-09-17 11:02:44 +00:00
John Gilmore
d974236f80 * utils.c (prompt_for_continue): Reinitialize more-counts
before printing anything, and again afterward.  Fix comments.
(vfprintf_filtered):  Eliminate static buffer; use auto buffer,
or alloca() if needed.

* rs6000-xdep.c:  Use correct conditional (IBM6000_TARGET) to
detect native versus cross-host.
1992-09-17 10:58:53 +00:00
Stu Grossman
f499253491 * m68k-tdep.c (sun3_saved_pc_after_call): Only do trap check for
Suns.  Rename to m68k_saved_pc_after_call.
* tm-68k-noun.h, tm-sun3.h (SAVED_PC_AFTER_CALL):  Use
m68k_saved... instead of sun3_saved...
1992-09-17 05:01:51 +00:00
Jim Wilson
569dac152d Make as.new depend on LIBS not the never set LIBDEPS, so that we get an
opcodes directory dependence.
1992-09-16 00:26:24 +00:00
Jim Wilson
23996caa33 Update to SPARC V9 draft 1.1. Put brfcx before brfc to avoid superfluous
symbol table entries.  Document unimplemented synthetic instructions.
1992-09-16 00:23:52 +00:00
Ian Lance Taylor
5640944588 Tue Sep 15 15:35:38 1992 Ian Lance Taylor (ian@cygnus.com)
* Makefile.in (install): if $(tooldir) exists, install ld in
	$(tooldir)/bin.
1992-09-15 23:30:30 +00:00
Ian Lance Taylor
efbfb612f4 Changes to make an installed cross-compiler find everything correctly.
Tue Sep 15 15:32:02 1992  Ian Lance Taylor  (ian@cygnus.com)

	* Makefile.in (install): if $(tooldir) exists, install as in
	$(tooldir)/bin.
1992-09-15 23:27:10 +00:00
Ian Lance Taylor
94a4a00523 Changes to make an installed cross-compiler find everything correctly.
Tue Sep 15 15:26:38 1992  Ian Lance Taylor  (ian@cygnus.com)

	* Makefile.in (install): if $(tooldir) exists, install nm and
	strip in $(tooldir)/bin.
1992-09-15 23:26:41 +00:00
Ian Lance Taylor
c51083226c Changes to make an installed cross-compiler find everything correctly.
Tue Sep 15 16:00:54 1992  Ian Lance Taylor  (ian@cygnus.com)

	* configure: always set $(tooldir) to $(libdir)/$(target_alias),
	even for a native compilation.
1992-09-15 23:26:16 +00:00
Jim Wilson
866e23d055 In brx macro, check for XCC bit set in xcc insns, and not set in icc insns.
In cond macro, do brx before br, to avoid getting extra symbol table entries
due to failed pattern matches.
1992-09-15 19:55:26 +00:00
Roland Pesch
e25e2b2ccc Keep h8.m4 now. 1992-09-15 17:51:14 +00:00
Stu Grossman
ace3e61190 Add missing utils.c patches. 1992-09-15 09:19:53 +00:00
Stu Grossman
4dba98fbb5 Don't use prototypes for vfprintf_filtered(). Someday we'll get prototypes of
varargs routines working...
1992-09-15 08:22:29 +00:00
Stu Grossman
20a687fe2e All new patches for Energize! 1992-09-15 07:28:05 +00:00
Stu Grossman
0055617716 * energize.c (pty_to_kernel): Must check for EAGAIN as
termination condition.
(full_filename):  Don't prepend dirname if filename begins with /.
(breakpoint_notify, kernel_dispatch):  Deal with DynamicLoad
messages properly!!
(getpty (NCR)):  Lotsa bug fixes...
(kernel_dispatch (case StopRType)):  Use kill() instead of
killpg() so we can deal with losing systems...
(wait_for_events):  Work around NCR select() lossage.  It doesn't
zero out readfds when select() returns zero.
(energize_initialize):  Use I_SETSIG to get SIGIO interrupts.  Use
getcwd() instead of getwd() (NCR getwd() seg faults).
(energize_wait):  Use sigaction() for NCR.  Their version of signal()
is unreliable by default.
1992-09-15 07:12:52 +00:00
Stu Grossman
34da36088e * procfs.c (proc_wait): Call print_sys_errmsg() if we get an
error from PIOCSWSTOP.
1992-09-15 06:42:19 +00:00
Stu Grossman
a8e033f2a2 * breakpoint.c, core.c, exec.c, language.c, main.c, printcmd.c,
symfile.c, target.c, valprint.c:  Use _filtered form of *printf.
defs.h, utils.c:  Make vfprintf_filtered global.
1992-09-15 06:27:18 +00:00
Stu Grossman
b36e3a9b49 Oops! Retract last change. Didn't mean to pollute things with energize just
yet!
1992-09-15 05:11:52 +00:00
Stu Grossman
3e3b0eb9d9 * utils.c (query): Remove test for energize from top. Now
handled in input_from_terminal_p().
1992-09-15 05:04:08 +00:00
Stu Grossman
5ca812d4fe * energize.c (send_location): New routine to consolidate all
places where we must notify kernel of where the given pc is.
(cplus_demangle):  Put single-quotes around demangled names.
(energize_call_command):  Call send_location() after doing up,
down, and frame commands.
1992-09-15 04:50:46 +00:00
Roland Pesch
cdb1858641 Fix typos and thinkos reported by Sun Ming (and one reported by John). 1992-09-14 18:53:57 +00:00
Ian Lance Taylor
e41474b77d Sun Sep 13 20:29:39 1992 Ian Lance Taylor (ian@cygnus.com)
* obj-coffbfd.h: define WARN_SIGNED_OVERFLOW_WORD.
	obj-coffbfd.c (fixup_segment): check for signed .word overflow if
	WARN_SIGNED_OVERFLOW_WORD.
1992-09-14 05:25:56 +00:00
Ian Lance Taylor
ca5e9d49dd Sun Sep 13 20:30:10 1992 Ian Lance Taylor (ian@cygnus.com)
* Added WARN_SIGNED_OVERFLOW_WORD define to give an error if any
	.word is < -32768 or > 32767.  The -J flag causes the error to be
	ignored.  This is to catch over-sized switches generated by gcc on
	systems which don't support the broken .word hack.
	as.c (main): permit -J if WARN_SIGNED_OVERFLOW_WORD.
	write.c (fixup_segment): check for signed .word overflow if
	WARN_SIGNED_OVERFLOW_WORD.
1992-09-14 05:25:24 +00:00
Ian Lance Taylor
76bf2d5d61 Sun Sep 13 20:29:39 1992 Ian Lance Taylor (ian@cygnus.com)
* obj-coffbfd.c (fixup_segment): fixed missing parens in
	expression checking for byte or word overflow.
1992-09-14 03:34:44 +00:00
Ian Lance Taylor
987b14913a Sun Sep 13 20:30:10 1992 Ian Lance Taylor (ian@cygnus.com)
* write.c (fixup_segment): fixed missing parens in expression
	checking for byte or word overflow.
1992-09-14 03:34:19 +00:00
Roland Pesch
d1d1ab12ab ...plus c'est la meme chose. 1992-09-12 05:28:20 +00:00
Roland Pesch
77fe54117e * doc/gdb.texinfo, doc/gdbinv-m.m4.in, doc/gdbinv-s.m4.in: first
pass at doc for two new remote targets---29K using UDI, and Tandem
	ST2000 using STDBUG.

	* doc/all.m4, doc/none.m4: new m4 switch, _ST2000__

	* doc/all.m4: turn on H8/300 stuff for generic manual
1992-09-12 05:27:40 +00:00
Roland Pesch
549ff1003e *** empty log message *** 1992-09-12 01:29:46 +00:00
Roland Pesch
b01d070a45 doc/gdbinv-s.m4.in: remove text on special procedures to continue after
explicit call to breakpoint() in serial stubs.
1992-09-12 01:14:57 +00:00
Ian Lance Taylor
dc999ad933 Fri Sep 11 15:37:06 1992 Ian Lance Taylor (ian@cygnus.com)
* coffcode.h (coff_renumber_symbols): set the last renumbered
	symbol pointer to NULL, as expected by coff_write_linenumbers.
	(coff_write_relocs): apparently a non-zero addend is OK for reloc
	type R_IHCONST used on the 29k.
1992-09-11 22:43:53 +00:00
Steve Chamberlain
6066ebada2 Whoops, forgot this one 1992-09-11 22:02:52 +00:00
Steve Chamberlain
e92bddcd1b Sanitize slip 1992-09-11 20:43:33 +00:00
Steve Chamberlain
1d7c7537dc Add i386coff.sh 1992-09-11 17:47:22 +00:00
Steve Chamberlain
2a9f20dbf1 New files 1992-09-11 17:47:01 +00:00
Steve Chamberlain
99e6298ae3 Support for i386-coff 1992-09-11 17:25:43 +00:00
Steve Chamberlain
28c8c50b43 Support for 386 coff 1992-09-11 17:23:31 +00:00
John Gilmore
57a9bb5fb4 * mipsread.c: Clean up some white space.
(parse_symbol):  Handle stEnd of stFile.
(parse_partial_symbols):  Remove old #if 0'd code.  Handle stLocal.
1992-09-11 11:18:30 +00:00
John Gilmore
493cf018c4 Improve doc of GDB config macros. 1992-09-11 09:31:19 +00:00
John Gilmore
3de61d8c53 * xm-mips.h (KERNEL_U_ADDR): Get from <machine/param.h>.
(REGISTER_U_ADDR):  Fix up for Ultrix 4.2.
* tm-tahoe.h, xm-tahoe.h (KERNEL_U_ADDR):  Move macro to xm-tahoe.h.
* stack.c (_initialize_stack):  "dow" should be a valid abbreviation
for "down".  Suggested by Richard Stallman.
1992-09-11 09:11:11 +00:00
John Gilmore
eb54a95a02 * mips-xdep.c (REGISTER_PTRACE_ADDR, fetch_inferior_registers,
store_inferior_registers):  Replace unexplained numbers
with manifest constants from a DECstation header file.
* xm-mips.h (KERNEL_U_ADDR):  Get from <machine/param.h>.
(REGISTER_U_ADDR):  Fix up for Ultrix 4.2.

* tm-tahoe.h, xm-tahoe.h (KERNEL_U_ADDR):  Move macro to xm-tahoe.h.

* stack.c (_initialize_stack):  "dow" should be a valid abbreviation
for "down".  Suggested by Richard Stallman.
1992-09-11 09:08:28 +00:00
Ian Lance Taylor
0012a471ae Thu Sep 10 10:43:19 1992 Ian Lance Taylor (ian@cygnus.com)
* Makefile.in: added -I for newlib/targ-include to XTRAFLAGS, to
	pick up the machine and system specific header files.
1992-09-10 22:45:45 +00:00
John Gilmore
c00bab93f0 * opncls.c (bfd_fdopenr): Determine whether to fdopen for
update, based on how the underlying file was opened.  Obsoletes
FASCIST_FDOPEN.
* hosts/rs6000.h, hosts/tahoe.h, hosts/vaxbsd.h:  Remove
all FASCIST_FDOPEN config defines.
1992-09-10 20:31:10 +00:00
Ken Raeburn
b67903acf6 from p3: remote-vx.c: hide name realloc for inclusion of rpc/rpc.h 1992-09-10 19:56:45 +00:00
Ken Raeburn
73386fffdb from p3: remote-vx.c: hide name realloc for inclusion of rpc/rpc.h 1992-09-10 19:48:53 +00:00
John Gilmore
4ddd278ffa * i386-stub.c, sparc-stub.c (getpacket): Actually check checksums.
* m68k-stub.c:  Remove a few extraneous ANSI-isms.
* remote-nindy.c (nindy_prepare_to_store):  Only fetch regs if
they aren't already there.
* remote-vx.c (vx_prepare_to_store):  Ditto.
* xcoffread.c:  Surround forward struct defns with #ifdef __STDC__.
1992-09-10 19:18:05 +00:00
Ian Lance Taylor
f68be6f088 Thu Sep 10 10:43:19 1992 Ian Lance Taylor (ian@cygnus.com)
* configure.in, config.sub: added new target m68010-adobe-scout,
	with alias of adobe68k.  Changed configure.in to check for
	-scout before -sco* to avoid a false match.
1992-09-10 18:04:50 +00:00
Ian Lance Taylor
440868a029 Thu Sep 10 10:43:19 1992 Ian Lance Taylor (ian@cygnus.com)
* Makefile.in: added AS_FOR_TARGET, passed down in
	TARGET_FLAGS_TO_PASS.  Added CC_FOR_BUILD, which is intended to be
	the C compiler to use to create programs which are run in the
	build environment, set it to default to $(CC), and passed it down
	in FLAGS_TO_PASS and TARGET_FLAGS_TO_PASS.
1992-09-10 17:45:18 +00:00
Steve Chamberlain
ede30e7363 Remove typo 1992-09-10 17:23:25 +00:00
Steve Chamberlain
5d74c1e534 Remove sparc-opc.c 1992-09-10 17:22:33 +00:00
Steve Chamberlain
62ba1060a4 Special stuff to strip v9 out of sparc-opc.c 1992-09-10 17:20:10 +00:00