binutils-gdb/gdb/mi
Tom Tromey de571fc5fb introduce ui_file_write_for_put
This introduces a small helper function, ui_file_write_for_put.  It is
a wrapper for ui_write that is suitable for passing directly to
ui_file_put.

This patch also updates one existing spot to use this new function.

gdb/ChangeLog
2014-12-12  Tom Tromey  <tromey@redhat.com>

	* ui-file.h (ui_file_write_for_put): Declare.
	* ui-file.c (ui_file_write_for_put): New function.
	* mi/mi-out.c (do_write): Remove.
	(mi_out_put): Use ui_file_write_for_put.
2014-12-12 22:12:12 +01:00
..
ChangeLog-1999-2003
mi-cmd-break.c Remove spurious exceptions.h inclusions 2014-10-08 09:33:22 +01:00
mi-cmd-break.h
mi-cmd-catch.c Move libiberty.h to common-defs.h 2014-08-07 09:06:41 +01:00
mi-cmd-disas.c Include string.h in common-defs.h 2014-08-07 09:06:47 +01:00
mi-cmd-env.c Include string.h in common-defs.h 2014-08-07 09:06:47 +01:00
mi-cmd-file.c Split struct symtab into two: struct symtab and compunit_symtab. 2014-11-20 07:47:44 -08:00
mi-cmd-info.c
mi-cmd-stack.c Remove spurious exceptions.h inclusions 2014-10-08 09:33:22 +01:00
mi-cmd-target.c
mi-cmd-var.c Include string.h in common-defs.h 2014-08-07 09:06:47 +01:00
mi-cmds.c Include string.h in common-defs.h 2014-08-07 09:06:47 +01:00
mi-cmds.h
mi-common.c Include gdb_assert.h in common-defs.h 2014-08-07 09:06:45 +01:00
mi-common.h
mi-console.c Include string.h in common-defs.h 2014-08-07 09:06:47 +01:00
mi-console.h
mi-getopt.c Include string.h in common-defs.h 2014-08-07 09:06:47 +01:00
mi-getopt.h
mi-interp.c Restore terminal state in mi_thread_exit (PR gdb/17627) 2014-12-10 13:03:47 -05:00
mi-main.c Remove spurious exceptions.h inclusions 2014-10-08 09:33:22 +01:00
mi-main.h
mi-out.c introduce ui_file_write_for_put 2014-12-12 22:12:12 +01:00
mi-out.h
mi-parse.c Include string.h in common-defs.h 2014-08-07 09:06:47 +01:00
mi-parse.h
mi-symbol-cmds.c symtab.h (SYMTAB_LINETABLE): Renamed from LINETABLE. All uses updated. 2014-11-18 09:32:10 -08:00