Commit graph

20 commits

Author SHA1 Message Date
Thomas Lord
199b2450f6 Change the stream argument to _filtered to GDB_FILE *.
Change all references to stdout/stderr to gdb_stdout/gdb_stderr.

Replace all calls to stdio output functions with calls to
corresponding _unfiltered functions (`fprintf_unfiltered')

Replaced calls to fopen for output to gdb_fopen.

Added sufficient goo to utils.c and defs.h to make the above work.

The net effect is that stdio output functions are only directly used
in utils.c.  Elsewhere, the _unfiltered and _filtered functions and
GDB_FILE type are used.

In the near future, GDB_FILE will stop being equivalant to FILE.

The semantics of some commands has changed in a very subtle way:
called in the right context, they may cause new occurences of
prompt_for_continue() behavior.  The testsuite doesn't notice anything
like this, though.

Please respect this change by not reintroducing stdio output
dependencies in the main body of gdb code.  All output from commands
should go to a GDB_FILE.

Target-specific code can still use stdio directly to communicate with
targets.
1993-11-01 22:25:23 +00:00
Per Bothner
00cea52f92 * ieee-float.c: Moved to ../libiberty.
* ieee-float.h: Moved to ../include.
	* Makefile.in:  Update accordingly.
	* i386-pinsn.c (print_insn), m68k-pinsn.c (print_insn):
	Convert to stubs that call disassemblers in ../opcodes/*-dis.c.
	* m68k-tdep.c:  Removed definition of ext_format ext_format_68881;
	it is now in ../opcodes/m68881-ext.c.
	* mips-tdep.c (mips_skip_prologue):  Try to skip more of the
	prologue (some callers _do_ care).
	* mips-pinsn.c (print_insn), z8k-tdep.c (print_insn):  Convert to
	new interface of ../opcodes/*-dis.c.
	* ch-exp.y:  Add #include <ctype.h>.
1993-03-19 00:18:55 +00:00
Stu Grossman
a5419edecf Yet another rev. We keep the _filtered stuff for energize. 1992-09-29 05:20:46 +00:00
Stu Grossman
b9ffe80ec6 Use correct directory for .mh files so that patch can find them. 1992-09-28 21:28:02 +00:00
Stu Grossman
e63f20d27f Use new interfaces to native/target stuff. 1992-09-28 21:27:05 +00:00
Stu Grossman
cc3e493810 Update patches to current version of devo. 1992-09-26 00:45:52 +00:00
Stu Grossman
ace3e61190 Add missing utils.c patches. 1992-09-15 09:19:53 +00:00
Stu Grossman
20a687fe2e All new patches for Energize! 1992-09-15 07:28:05 +00:00
Fred Fish
d7b5294bea Update to make patches relative to current devo sources. 1992-08-25 15:13:55 +00:00
Fred Fish
d24bf980a0 Fixup patch for ncr3000.mh, delete patch for amix.mh, add patch for
demangle.c.
1992-07-18 20:14:32 +00:00
Stu Grossman
ae32c8f85d Correct pathnames for files in config/ 1992-07-18 00:44:46 +00:00
Stu Grossman
218e537ad7 Update to reflect new Makefile.in changes for Energize connection lib. 1992-07-18 00:15:39 +00:00
Fred Fish
345e9ab8dc Change LCC_PRODUCER string to match current NCR lcc AT_producer. Update
energize-patches to work when configured with -srcdir=.
1992-07-16 19:12:49 +00:00
Fred Fish
169788ef7b Fixup minor botch during hand editing of amix.mh patch. 1992-07-15 19:40:57 +00:00
Fred Fish
d23639b2ec * dbxread.c, dwarfread.c: Re-enable experimental code to
automatically select demangling style.
	* demangle.c (DEFAULT_DEMANGLING_STYLE):  Rename from simply
	DEMANGLING_STYLE, to make more descriptive.  Revert back to
	"auto" as default.  Comment use.
	* Makefile.in (DEMANGLING_STYLE, DEMANGLE_OPTS):  Remove.
	* Makefile.in (${DEMANGLER}.o) Remove target and special
	compilation rule.
1992-07-15 19:33:21 +00:00
Fred Fish
5e85287ea2 To avoid confusion, start off post release development versions at 4.6.1,
so the only 4.6 gdb executables are those built from the actual 4.6 release.
1992-07-15 06:11:24 +00:00
Fred Fish
652253cbb6 Update the diffs to Makefile.in.
Modify amix.mh and ncr3000.mh diffs to be relative to config/
1992-07-15 05:49:43 +00:00
Stu Grossman
6a701ae205 * energize-patches: Fix minor problems with building energize lib.
(Also all energize.h to .Sanitize).
1992-07-05 19:09:38 +00:00
Stu Grossman
2bfe2c53db * energize-patches: Change names of all cadillac procedure calls
to be energize procedure calls.  Simplify many hooks by moving
tests energize.c.  Configure energize, and build it automatically now.
1992-07-05 18:07:52 +00:00
Stu Grossman
f823634c30 * cadillac.c, cadillac-patches: Rename to energize.c and
energize-patches.  Change all routines and variables named
'cadillac*' to 'energize*'.  Create new file called energize.h to
hold all interface declarations.
1992-07-05 17:06:47 +00:00