old-cross-binutils/gdb/cli
Doug Evans 4d6cceb4e4 PR mi/18833 gdb.execute ("set param value", to_string=True) will crash gdb if using MI
gdb/ChangeLog:

	* cli/cli-logging.c (pop_output_files): Don't restore redirection
	if MI-like.
	* mi/mi-out.c: #include "vec.h".
	(ui_filep): New type.
	(DEV_VEC_P (ui_filep)): New type.
	(struct ui_out_data) <buffer, original_buffer>: Delete.
	(struct ui_out_data) <streams>: New member.
	(mi_ui_out_impl): Add data_destroy field.
	(mi_field_string, mi_field_fmt): Update.
	(mi_flush, mi_redirect, field_separator): Update.
	(mi_open, mi_close): Update.
	(mi_out_buffered, mi_out_rewind, mi_out_put): Update.
	(mi_out_data_ctor, mi_out_data_dtor): New functions.
	(mi_out_new): Call mi_out_data_ctor.

testsuite/gdb/ChangeLog:

	* lib/gdb.exp (skip_python_tests_prompt): Renamed from
	skip_python_tests.  New arg prompt_regexp.
	(skip_python_tests): New function.
	* lib/mi-support.exp (mi_skip_python_tests): New function.
	* gdb.python/py-mi-objfile-gdb.py: New file.
	* gdb.python/py-mi-objfile.c: New file.
	* gdb.python/py-mi-objfile.exp: New file.
2015-08-18 14:02:03 -07:00
..
cli-cmds.c New /s modifier for the disassemble command. 2015-08-14 21:45:54 -07:00
cli-cmds.h Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
cli-decode.c Mostly trivial enum fixes 2015-07-31 13:19:53 -04:00
cli-decode.h C++ keyword cleanliness, mostly auto-generated 2015-02-27 16:33:07 +00:00
cli-dump.c gdb: Add internationalization support to a few strings. 2015-04-24 22:49:59 +01:00
cli-interp.c Split TRY_CATCH into TRY + CATCH 2015-03-07 15:14:14 +00:00
cli-logging.c PR mi/18833 gdb.execute ("set param value", to_string=True) will crash gdb if using MI 2015-08-18 14:02:03 -07:00
cli-script.c compile: Distribute scope, add scope_data 2015-05-16 14:28:10 +02:00
cli-script.h Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
cli-setshow.c C++ keyword cleanliness, mostly auto-generated 2015-02-27 16:33:07 +00:00
cli-setshow.h Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
cli-utils.c Move utility functions to common/ 2015-06-15 17:04:56 +02:00
cli-utils.h Move utility functions to common/ 2015-06-15 17:04:56 +02:00