]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gdb/utils.c
Change the stream argument to _filtered to GDB_FILE *.
authorThomas Lord <lord@cygnus>
Mon, 1 Nov 1993 22:25:23 +0000 (22:25 +0000)
committerThomas Lord <lord@cygnus>
Mon, 1 Nov 1993 22:25:23 +0000 (22:25 +0000)
commit199b2450f62ad6ffbe56ec34fc447716b811579d
tree07400f3981865f129b912a51b85e69b7b8d1ee22
parentb3c0fc577b17083c8bdc3ed5cffc4ca50aefaa5e
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.
121 files changed:
gdb/.gdbinit
gdb/ChangeLog
gdb/a29k-pinsn.c
gdb/a29k-tdep.c
gdb/a68v-nat.c
gdb/alpha-tdep.c
gdb/altos-xdep.c
gdb/breakpoint.c
gdb/c-lang.c
gdb/c-lang.h
gdb/c-typeprint.c
gdb/c-valprint.c
gdb/ch-exp.y
gdb/ch-lang.c
gdb/ch-lang.h
gdb/ch-typeprint.c
gdb/ch-valprint.c
gdb/command.c
gdb/complaints.c
gdb/corelow.c
gdb/cp-valprint.c
gdb/dbxread.c
gdb/delta68-nat.c
gdb/demangle.c
gdb/doc/ChangeLog
gdb/doc/libgdb.texinfo
gdb/dstread.c
gdb/dwarfread.c
gdb/energize-patches
gdb/energize.c
gdb/fork-child.c
gdb/gdbtypes.c
gdb/gdbtypes.h
gdb/go32-xdep.c
gdb/h8300-tdep.c
gdb/h8500-tdep.c
gdb/hppa-pinsn.c
gdb/hppa-tdep.c
gdb/i386-nlmstub.c
gdb/i386-pinsn.c
gdb/i386aix-nat.c
gdb/i386lynx-nat.c [new file with mode: 0644]
gdb/i386m3-nat.c
gdb/i386v-nat.c
gdb/i387-tdep.c
gdb/i960-pinsn.c
gdb/i960-tdep.c
gdb/infcmd.c
gdb/inflow.c
gdb/infrun.c
gdb/infrun.hacked.c
gdb/language.c
gdb/language.h
gdb/m2-exp.y
gdb/m2-lang.c
gdb/m2-lang.h
gdb/m2-typeprint.c
gdb/m2-valprint.c
gdb/m3-nat.c
gdb/m68k-pinsn.c
gdb/m88k-nat.c
gdb/m88k-pinsn.c
gdb/m88k-tdep.c
gdb/main.c
gdb/maint.c
gdb/mips-pinsn.c
gdb/mips-tdep.c
gdb/objfiles.c
gdb/osfsolib.c
gdb/parse.c
gdb/partial-stab.h
gdb/printcmd.c
gdb/procfs.c
gdb/pyr-pinsn.c
gdb/pyr-tdep.c
gdb/pyr-xdep.c
gdb/regex.c
gdb/remote-hms.c
gdb/remote-mips.c
gdb/remote-mm.c
gdb/remote-nindy.c
gdb/remote-sim.c
gdb/remote-udi.c
gdb/remote-utils.c
gdb/remote-vx.c
gdb/remote-z8k.c
gdb/remote.c
gdb/rs6000-nat.c
gdb/rs6000-pinsn.c
gdb/rs6000-tdep.c
gdb/ser-go32.c
gdb/ser-tcp.c
gdb/ser-unix.c
gdb/serial.c
gdb/sh-tdep.c
gdb/source.c
gdb/sp64-tdep.c
gdb/sparc-nat.c
gdb/sparc-pinsn.c
gdb/stack.c
gdb/stuff.c
gdb/sun3-nat.c
gdb/sun386-nat.c
gdb/symfile.c
gdb/symm-nat.c
gdb/symtab.c
gdb/tahoe-pinsn.c
gdb/typeprint.c
gdb/typeprint.h
gdb/ultra3-nat.c
gdb/ultra3-xdep.c
gdb/umax-xdep.c
gdb/utils.c
gdb/valprint.c
gdb/valprint.h
gdb/values.c
gdb/vax-pinsn.c
gdb/xcoffexec.c
gdb/xcoffread.c
gdb/xcoffsolib.c
gdb/z8k-tdep.c