2008-12-16  Denis Pilat  <denis.pilat@st.com> 
	on behalf of Nunzio Raciti  <nunzio.raciti@st.com>

	* library/srctextwin.itb (_clear_cache): Take care of $p variable that
	could contains ":" for source pane on windows hosts.
	* library/srcwin.itb (choose_and_update): Avoid updating the "source"
	window if target executable name is empty.

2008-12-15  Kevin Buettner  <kevinb@redhat.com>

	* generic/gdbtk-cmds.c (valprint.h): Include.
	(gdb_eval): Fetch print options via get_formatted_print_options.
	Update call to val_print.
	(gdb_update_mem): Likewise, but for print_scalar_formatted.
	* generic/gdbtk-register.c (valprint.h): Include.
	(get_register): Use get_formatted_print_options.  Update calls
	to val_print.
	* generic/gdbtk-wrapper.c (valprint.h): Include.
	(wrap_val_print): Use get_formatted_print_options.  Delete
	variables deref_ref and pretty; assign to equivalent fields
	in the value_print_options struct instead.  Update call to
	val_print.

2008-10-27  Keith Seitz  <keiths@redhat.com>

	* generic/gdbtk-stack.c (get_gdb_vars_command): clientData is an
	int, not a pointer to int.

2008-09-22  Keith Seitz  <keiths@redhat.com>

	* generic/gdbtk-cmds.c (gdb_clear_file): The global "attach_flag"
	is now per-inferior.

2008-09-19  Denis Pilat  <denis.pilat@st.com>

	* generic/gdbtk-bp.c (gdb_get_breakpoint_info): Manage the case of NULL
	location to handle pending breakpoint in a better way.
	(gdb_find_bp_at_addr): Likewise.

2008-09-18  Keith Seitz  <keiths@redhat.com>

	From Pedro Alves  <pedro@codesourcery.com>:
	* generic/gdbtk-cmds.c (gdb_cmd, gdb_immediate_command): Adjust to
	new bpstat_do_actions inferface.
	* generic/gdbtk-hooks.c: Include gdbthread.h.
	(gdbtk_annotate_signal): Get the stop_signal from the current
	thread.

2008-09-02  Keith Seitz  <keiths@redhat.com>

	* generic/gdbtk-cmds.c (gdb_listfuncs): Use SYMBOL_PRINT_NAME
	instead of DEPRECATED_SYMBOL_NAME.
	* generic/gdbtk-stack.c (gdb_block_vars): Likewise.
	(gdb_get_vars_command): Likewise.
	* generic/gdbtk.h (GDBTK_SYMBOL_SOURCE_NAME): Likewise.

2008-08-02  Keith Seitz  <keiths@redhat.com>

	* generic/gdbtk-cmds.c: Don't include itcl.h.
	* generic/gdbtk-hooks.c: Likewise.
	* generic/gdbtk.c: Include tcl.h and tk.h instead of itcl.h
	and itk.h.
	(gdbtk_init): Rewrite to accommodate using a system-provided
	Tcl, Tk, Itcl, Itk.
	(gdbtk_source_start_file) [!_WIN32]: Don't call error() when
	we fail to source the start file. Just dump the message to stderr.
	Throw an exception indicating the failure.
	* library/ehandler.itb (GDBEventHander::dispatch): "itcl_info" is
	deprecated: use "itcl::find objects" instead.
	* library/managedwin.itb (window_instance): Ditto.
	(restart): Ditto.
	(shutdown): Ditto.
	(_open): Ditto.
	(find): Ditto.
	* library/globalpref.itb (_build_win): Don't pass config arguments
	for libgui widgets to the constructor. Configure the widget after
	creation.
	* library/srcpref.itb (_build_win): Ditto.
	* library/main.tcl: Update Tcl, Tk, Itcl, Itk, and Iwidgets (just
	added to this loop) version requirements.
	No need to initialize Iwidgets separately.
	* plugins/Make-rules (TCLHDIR): Renamed to TCL_INCLUDES. Change
	all references.
	(TCL_BUILD_LIB_SPEC): Renamed to TCL_LIBRARY. Change all references.
	* plugins/acinclude.m4: Include the standard tcl.m4 instead
	of the sourceware-derived one.
	* plugins/configure.ac: Use Tcl's standard SC_* macros instead of
	the sourceware-derived CYG_AC_* macros.
	Add logic to deal with using a system-supplied Tcl/Tk.
	* plugins/configure: Regenerated.
	* plugins/Makefile.in: Regenerated.
	
2008-07-25  Tom Tromey  <tromey@redhat.com>

	* generic/gdbtk-hooks.c: Include observer.h, not gdb-events.h.
	(gdbtk_add_hooks): Use observers, not events.
	(gdbtk_architecture_changed): Add argument, for observer.
	* generic/gdbtk-bp.c: Include observer.h.
	(gdb_set_bp): Notify observer.
	(gdb_set_bp_addr): Likewise.

2008-07-14  Keith Seitz  <keiths@redhat.com>

	* generic/gdbtk-stack.c (gdb_block_args): Remove deprecated values
	LOC_LOCAL_ARG, LOC_COMPUTED_ARG, LOC_REGPARM, LOC_BASEARG_ARG, and
	LOC_BASEARG.
	(gdb_get_blocks): Likewise.
	(gdb_get_vars_command): Likewise.
	Fix type-punned pointer error introduced on 03-07.

	* generic/gdbtk-cmds.c (gdbtk_load_asm): Use paddress instead
	of deprecated_print_address_numeric.
	(gdb_stop): Update use of target_stop.

	* generic/gdbtk.h (gdbtk_get_ptid): Declare new function.
	* generic/gdbtk-hooks.c (gdbtk_wait): Save inferior's ptid.
	(gdbtk_get_ptid): Define new function.
	* generic/gdbtk-varobj.c (variable_update): Update for recent
	varobj_update API change.
	* generic/gdbtk-wrapper.h (GDB_varobj_update): Likewise.
	* generic/gdbtk-wrapper.c (GDB_varobj_update): Likewise.
	(wrap_varobj_update): Likewise.

	* library/targetselection.itb (init_target_db): Initialize
	preferences here instead of ...
	(_init): ... here.
	(_init_prefs): Define gdb/load/default-portname, too.

2008-05-12  Pierre Muller  <muller@ics.u-strasbg.fr>

	* Update uses of val_print functions with additional language argument.
	generic/gdbtk-cmds.c: Add "language.h" include.
	(gdb_eval): Add current_language as new arg of val_print.
	generic/gdbtk-register.c: Add "language.h" include.
	(get_register): Add current_language as new arg of val_print.
	generic/gdbtk-wrapper.c: Add "language.h" include.
	(wrap_val_print): Add current_language as new arg of val_print.

2008-04-21  Keith Seitz  <keiths@redhat.com>

	* generic/gdbtk-cmds.c (symtab_to_filename): Call gdb's
	open_source_file instead of find_and_open_source.

2008-03-28  Maciej W. Rozycki  <macro@mips.com>

	* README: Fix a typo.

2008-03-18  Maciej W. Rozycki  <macro@mips.com>

	* generic/gdbtk-interp.c (gdbtk_interpreter_init): New parameter
	top_level.

2008-03-07  Keith Seitz  <kseitz@sourceware.org>

	* generic/gdbtk-register.c (map_arg): New data type
	for passing arguments to mapping functions.
	(map_func): New definition of mapping function.
	Changed all callers to use these new types.
	* generic/gdbtk-stack.c (gdb_get_vars_command): Change
	cast to int to dereference of int *.
	* generic/gdbtk-wrapper.c: Change all casts to char * for
	results and args to use pointer or integer flavor of
	gdb_wrapper_args.results and .args.
	* generic/gdbtk-wrapper.h: struct gdb_wrapper_arguments
	members result and args now return a union of void * and int.

2008-03-03  Keith Seitz  <keiths@redhat.com>

	From Dave Murphy  <davem@devkitpro.org>:
	* gdbtk-cmds.c: Guard <sys/ioctl.h> with HAVE_SYS_IOCTL_H.
	* gdbtk-hooks.c: Ditto.
	* gdbtk.c: Ditto.
	* gdbtk-interp.c: Include windows.h under mingw32.
	(gdbtk_start_timer, gdbtk_stop_timer): Remove timer calls under mingw.
	(gdbtk_init): Include windows-specific commands under mingw without
	cygwin path commands.
	* library/download.itb (Download::download_it): Only use ide_cygwin_path
	on cygwin hosts.
	* library/interface.tcl (_open_file): Ditto.
	* library/prefs.tcl (pref_read): Ditto.
	* library/targetselection.itb (TargetSelection::default_port): Default
	to "/dev/com1" under cygwin and "COM1" under mingw.
	(TargetSelection::port_list): Use "/dev/com" under cygwin and
	"COM" under mingw.

2008-02-08  Keith Seitz  <keiths@redhat.com>

	* library/main.tcl: Add gdbtk_platform definitions.
	* library/attachdlg.itb (list_pids): Use gdbtk_platform
	instead of tcl_platform.
	* library/bpwin.itb (build_win): Likewise.
	(_bp_add): Likewise.
	(_bp_modify): Likewise.
	* library/download.itb (download_it): Likewise.
	* library/globalpref.itb (_build_win): Likewise.
	* library/helpviewer.tcl (open_help): Likewise.
	* library/interface.tcl (gdbtk_tcl_query): Likewise.
	(show_warning): Likewise.
	(open_file): Likewise.
	(run_executable): Likewise.
	* library/managedwin.itb (reveal): Likewise.
	(_create): Likewise.
	* library/prefs.tcl (pref_read): Likewise.
	(pref_set_defaults): Likewise.
	(pref_set_colors): Likewise.
	* library/session.tcl (_exe_name): Likewise.
	* library/srcbar.itcl (_update_file_menu): Likewise.
	(create_run_menu): Likewise.
	* library/srctextwin.itb (_mtime_changed): Likewise.
	(LoadFromCache): Likewise.
	* library/targetselection.itb (default_port): Likewise.
	(build_win): Likewise.

	* library/memwin.itb (build_win): Remove unused tcl_platform
	declaration.
	* library/pluginwin.itcl (enable_ui): Likewise.
	* library/process.itb (build_win): Likewise.
	* library/srcbar.itcl (enable_ui): Likewise.
	* library/srcwin.itb (location): Likewise.
	* library/stackwin.itb (build_win): Likewise.
	* library/tdump.tcl (build_win): Likewise.

2008-02-05  Maciej W. Rozycki  <macro@mips.com>

	* generic/gdbtk-varobj.c (variable_children): Adjust
	for varobj_list_children change.

