old-cross-binutils/gdb/mi
Tom Tromey b631324398 gdb
2009-05-27  Vladimir Prus  <vladimir@codesourcery.com>
	    Tom Tromey  <tromey@redhat.com>
	    Thiago Jung Bauermann  <bauerman@br.ibm.com>

	* mi/mi-main.c (mi_cmd_list_features): List "python" feature.
	* varobj.h (varobj_set_visualizer): Declare.
	(varobj_get_display_hint): Likewise.
	(varobj_update_result_t) <children_changed, value_installed>: New
	fields.
	* mi/mi-cmds.c (mi_cmds): Add var-set-visualizer.
	* mi/mi-cmds.h (mi_cmd_var_set_visualizer,
	mi_cmd_var_set_child_range): Declare.
	* mi/mi-cmd-var.c (mi_cmd_var_set_visualizer): New function.
	(mi_cmd_var_list_children): Emit display hint.
	(varobj_update_one): Emit display hint.  Handle dynamic children.
	* python/python.c (GdbMethods): Add "default_visualizer".
	* python/python-internal.h (apply_varobj_pretty_printer,
	gdbpy_get_varobj_pretty_printer, gdbpy_get_display_hint):
	Declare.
	(gdbpy_default_visualizer): Likewise.
	* varobj.c: Include python.h, python-internal.h.
	(PyObject): New typedef.
	(struct varobj) <children_requested, pretty_printer>: New fields.
	(varobj_create): Call install_default_visualizer.
	(instantiate_pretty_printer): New function.
	(varobj_set_display_format): Update.
	(varobj_get_display_hint): New function.
	(update_dynamic_varobj_children): New function.
	(varobj_get_num_children): Handle dynamic children.
	(varobj_list_children): Likewise.
	(install_new_value): Likewise.
	(varobj_add_child): New function.
	(install_visualizer): Likewise.
	(install_default_visualizer): Likewise.
	(varobj_set_visualizer): Likewise.
	(varobj_update): Handle dynamic children.
	(create_child): Use create_child_with_value.
	(create_child_with_value): New function.
	(value_get_print_value): Call pretty printer.  Add value_formatter
	argument.
	(c_value_of_variable): Update.
	(varobj_invalidate): Always free all_rootvarobj.
	* python/python-prettyprint.c (apply_varobj_pretty_printer): New
	function.
	(gdbpy_get_varobj_pretty_printer): Likewise.
	(gdbpy_default_visualizer): Likewise.

gdb/doc

2009-05-27  Tom Tromey  <tromey@redhat.com>

	* gdb.texinfo (GDB/MI Miscellaneous Commands): Document "python"
	feature.
	(GDB/MI Variable Objects): Document -var-set-visualizer.

gdb/testsuite

2009-05-27  Tom Tromey  <tromey@redhat.com>
	    Thiago Jung Bauermann  <bauerman@br.ibm.com>

	* lib/mi-support.exp (mi_varobj_update_dynamic): New proc.
	(mi_child_regexp): Likewise.
	(mi_list_varobj_children_range): Likewise.
	(mi_get_features): Likewise.
	(mi_list_varobj_children): Rewrite.
	* gdb.python/python-mi.exp: New file.
2009-05-28 01:09:20 +00:00
..
ChangeLog-1999-2003
gdb-mi.el Updated copyright notices for most files. 2009-01-03 05:58:08 +00:00
mi-cmd-break.c * breakpoint.c (create_breakpoint, create_breakpoints) 2009-01-30 18:28:01 +00:00
mi-cmd-disas.c * disasm.c (gdb_disassembly): Remove unused argument 2009-03-10 08:53:53 +00:00
mi-cmd-env.c Check return values of functions declared with warn_unused_result 2009-01-06 18:31:59 +00:00
mi-cmd-file.c Updated copyright notices for most files. 2009-01-03 05:58:08 +00:00
mi-cmd-stack.c Updated copyright notices for most files. 2009-01-03 05:58:08 +00:00
mi-cmd-target.c Updated copyright notices for most files. 2009-01-03 05:58:08 +00:00
mi-cmd-var.c gdb 2009-05-28 01:09:20 +00:00
mi-cmds.c gdb 2009-05-28 01:09:20 +00:00
mi-cmds.h gdb 2009-05-28 01:09:20 +00:00
mi-common.c 2008-02-21 Pedro Alves <pedro@codesorcery.com> 2009-02-21 16:14:50 +00:00
mi-common.h Updated copyright notices for most files. 2009-01-03 05:58:08 +00:00
mi-console.c Updated copyright notices for most files. 2009-01-03 05:58:08 +00:00
mi-console.h Updated copyright notices for most files. 2009-01-03 05:58:08 +00:00
mi-getopt.c Updated copyright notices for most files. 2009-01-03 05:58:08 +00:00
mi-getopt.h Updated copyright notices for most files. 2009-01-03 05:58:08 +00:00
mi-interp.c gdb: 2009-05-24 21:06:53 +00:00
mi-main.c gdb 2009-05-28 01:09:20 +00:00
mi-main.h gdb/ 2009-03-22 18:06:07 +00:00
mi-out.c Updated copyright notices for most files. 2009-01-03 05:58:08 +00:00
mi-out.h Updated copyright notices for most files. 2009-01-03 05:58:08 +00:00
mi-parse.c Updated copyright notices for most files. 2009-01-03 05:58:08 +00:00
mi-parse.h Updated copyright notices for most files. 2009-01-03 05:58:08 +00:00
mi-symbol-cmds.c Updated copyright notices for most files. 2009-01-03 05:58:08 +00:00