+Tue May 5 09:30:25 1998 Christopher Faylor <cgf@cygnus.com>
+
+ * gdbtk.c (_initialize_gdbtk): Use correct device names in
+ cygwin-specific call (cosmetic change).
+
+Wed Apr 29 15:53:16 1998 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
+
+ * gdbtk.c (gdbtk_ignorable_warning): removed va_list parameter,
+ which was unused.
+
+Thu Apr 23 19:01:05 1998 Keith Seitz <keiths@onions.cygnus.com>
+
+ * Makefile.in (install-only): Install help files.
+
+Wed Apr 15 11:23:53 1998 Stan Shebs <shebs@andros.cygnus.com>
+
+ * gdbtcl: Remove directory and contents, this version of
+ the interface is obsolete.
+
+Mon Apr 13 16:17:52 1998 Martin M. Hunt <hunt@cygnus.com>
+
+ * gdbtk.c (gdb_loadfile): Change fstat() call to stat().
+ Needed because you can't convert a FILE* to an fd.
+
+Mon Apr 13 16:28:07 1998 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
+
+ * gdbtk.c: (perror_with_name_wrapper) new function to call
+ perror_with_name safely.
+ (gdb_loadfile) added source vs. executable time stamp check.
+ (gdbtk_warning) new function to pass a warning message to the gui.
+ (gdbtk_ignorable_warning) new function to pass a warning
+ to the gui. Used only for the src. vs. exec check.
+ (gdbtk_init) added warning_hook
+ added include <sys/stat.h>
+
+Mon Apr 13 12:58:26 1998 Keith Seitz <keiths@onions.cygnus.com>
+
+ * gdbtk.c (gdbtk_start_timer): Include on all platforms. Decrease
+ timer interval a little.
+ (gdbtk_stop_timer): Include on all platforms.
+ (gdbtk_wait): No more signals! Use a timer on all platforms to keep the
+ GUI alive.
+ (gdbtk_init): Remove FIOASYNC and all x_fd references. Now using timers
+ on all platforms.
+
+Fri Apr 10 15:48:10 1998 Jason Molenda (crash@bugshack.cygnus.com)
+
+ * gdbtk.c (gdb_listfiles): Allocate space for 'files' dynamically.
+
+Thu Apr 9 14:20:59 1998 Martin M. Hunt <hunt@cygnus.com>
+
+ * gdbtk.c (gdbtk_init): Remove redundant variable "IDE".
+
+Tue Apr 7 15:13:58 1998 Stan Shebs <shebs@andros.cygnus.com>
+
+ * gdbtk.tcl: Remove, no longer used.
+
+Tue Apr 7 12:49:45 1998 Keith Seitz <keiths@onions.cygnus.com>
+
+ * gdbtk.c (gdb_cmd): NEVER call the busy, update, and idle hooks.
+
+Tue Mar 31 15:42:06 1998 Keith Seitz <keiths@onions.cygnus.com>
+
+ * gdbtk.c (gdb_loadfile): Don't use the return result from
+ sprintf, which returns a char * under SunOS4.
+
+Tue Mar 31 17:18:43 1998 Ian Lance Taylor <ian@cygnus.com>
+
+ * configure.in: Add $(LIBIDETCL) as well as $(LIBIDE) if
+ --enable-ide.
+ * Makefile.in (IDE_CFLAGS_X): Add -I for libidetcl/src.
+ (LIBIDETCL): Define.
+ * configure: Rebuild.
+
+Sun Mar 29 21:19:46 1998 Keith Seitz <keiths@onions.cygnus.com>
+
+ * gdbtk.c (gdb_get_tracepoint_info): Change formatting of address.
+ (tracepoint_exists): Remove code which confuses assembly traces.
+
+Sat Mar 28 12:13:23 1998 Keith Seitz <keiths@onions.cygnus.com>
+
+ * gdbtk.c (gdb_cmd): If argc > 2, assume that the busy and idle hooks
+ should not be called.
+
+Thu Mar 26 22:29:28 1998 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
+
+ * gdbtk.c: (gdb_trace_status) new function.
+ (gdbtk_init) added command "gdb_is_tracing".
+ (tracepoint_notify) added passcount information.
+
+Thu Mar 26 12:00:35 1998 Martin M. Hunt <hunt@cygnus.com>
+
+ * gdbtk.c (gdbtk_fputs): Insert fencepost.
+ (gdb_loc): Correct pc calculation.
+ (gdb_immediate_command): Return if a load is in progress.
+ (gdb_cmd): Return if a load is in progress.
+ (target_stop_wrapper): New function.
+ (gdb_stop): Call target_stop_wrapper.
+ (x_event): Add fencepost and optimize load cancel check.
+ (gdbtk_start_timer): Set up structs only once.
+ (gdbtk_stop_timer): Just use preset structs to set timer parameters.
+ (gdb_loadfile): If file cannot be loaded, return error message.
+ (gdb_loadfile): Add space before tab so that lines without
+ a '-' can later be changed to have one.
+
+Wed Mar 25 14:08:51 1998 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
+
+ * gdbtk.c (gdbtk_pre_add_symbol): Use Tcl_merge to form Tcl commands.
+
+Mon Mar 23 13:41:39 1998 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
+
+ * gdbtk.c (gdb_get_mem): Rewrite to fetch entire contents
+ of the memory window at once.
+
+Sat Mar 21 19:34:49 1998 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
+
+ Merged changes from Foundry: list follows by author:
+
+ - Tom Tromey <tromey@cygnus.com>
+
+ * Makefile.in (gdbres.o): New target.
+ (WINDRES): New define.
+ * configure: Rebuilt.
+ * configure.in (WINDRES): Define.
+ (CONFIG_OBS): Include gdbres.o on Windows.
+ * gdbtool.ico: New file.
+ * gdb.rc: New file.
+ * gdbtk.c (gdbtk_init): Call ide_create_messagebox_command.
+ (gdbtk_cleanup): Call ide_interface_deregister_all.
+ (gdbtk_init): Pass event handle to cleanup.
+ (TclDebug): Use Tcl_Merge to construct command.
+ (gdbtk_init): Call ide_create_cygwin_path_command.
+
+ - Martin M. Hunt <hunt@cygnus.com>
+
+ * gdbtk.c (gdb_set_bp): Set addr_string for bp.
+ (gdb_get_breakpoint_info): Demangle function
+ names in breakpoint info.
+ Include "demangle.h".
+ (gdb_loc, gdb_listfuncs): Demangle C++
+ function names.
+ (gdb_set_bp): Properly quote filename to fix
+ problems with spaces. Send pc back as a hex string.
+ (gdb_listfuncs): Remove debugging line.
+ Turn off some debugging lines.
+ (breakpoint_notify): Return correct line number.
+ (gdb_get_breakpoint_info): Return correct line number.
+ (gdb_set_bp): New function to provide a better way to
+ set breakpoints.
+ (gdbtk_readline, gdbtk_readline_begin): Memory
+ allocated by tcl needs to be freed by Tcl_Free().
+ (find_file_in_dir): Deleted.
+ (gdb_find_file_command): Call full_lookup_symtab().
+ (gdb_listfuncs): Call full_lookup_symtab().
+ (full_lookup_symtab): New function. Like lookup_symtab
+ except handles multiple files with the same basename,
+ full pathnames, and always sets symtab->fullname.
+ (gdb_loadfile): Call full_lookup_symtab(). Clear
+ realloc'd memory.
+ (gdb_loadfile): Don't tag lines without source.
+ Tag source lines with source_tag.
+ (gdb_find_file_command, find_file_in_dir):
+ Rewrite. Now searches symtabs and psymtabs for a match
+ on the partial or full filename. Returns the full pathname.
+ (gdb_loadfile): Realloc additional memory
+ if someone loads in a file with more than 160,000
+ lines. I don't know if this really works because
+ I don't have enough memory to test it.
+ (gdb_sourcelines): Deleted.
+ (gdb_loadfile): New function. Takes a text widget
+ and loads it with the contents of a file. Marks
+ and tags source lines.
+ (pc_changed): New function.
+ (get_pc_register): Returns the value of
+ the PC to GDB.
+ (gdb_loc): If looking on the stack, return
+ real pc along with calling source line.
+ (gdb_loc): Return "" instead of "N/A" if
+ filename is not found.
+ (gdb_get_breakpoint_info): Same.
+ (get_register): For Natural mode, set format to 0.
+ Minor bugfixes from keiths.
+ (TclDebug): New function for debugging use.
+ (gdb_loc): Return correct PC for frames
+ that are not the innermost frame.
+ (gdb_listfiles): Rewritten to use object
+ API. Now takes an optional dirname which will cause
+ only files in that directory or its subdirectories
+ to be returned. Now returns basenames instead of
+ full pathnames.
+ (gdb_cmd): Set/reset load_in_progress flag.
+ (call_wrapper): Don't pop up dialog for errors in
+ downloads; just abort download.
+ (gdbtk_load_hash): Set return value correctly.
+
+ - Keith Seitz <keiths@onions.cygnus.com>
+
+ * gdbtk.c (gdbtk_init): Define the ui_loop_hook so that it can be
+ called by routines which might block, allowing us to update the GUI.
+ (gdbtk_wait): Move timer calls to annotation hooks.
+ (gdbtk_init): Define the annotation hooks.
+ (gdbtk_annotate_starting): New function for cygwin32 hosts.
+ (gdbtk_annotate_stopped): New function for cygwin32 hosts.
+ (gdbtk_annotate_exited): New function for cygwin32 hosts.
+ (gdbtk_annotate_signalled): New function. for cygwin32 hosts.
+ (gdbtk_init): Use gdbtk_print_frame_info hook.
+ (gdbtk_print_frame_info): New function which sets current_source_symtab
+ based on the given symtab and line info.
+ (gdb_immediate_command): New function which does
+ not buffer any
+ output. (Contrast to gdb_cmd.)
+ (gdb_prompt_command): New function to return gdb's prompt.
+ (find_file_in_dir): New functon which searches source paths
+ for a given filename.
+ (gdb_find_file): New function which returns path to given file -- uses
+ find_file_in_dir.
+ (gdbtk_init): Install "gdb_immediate", "gdb_find_file", and
+ "gdb_prompt"
+ commands into interpreter.
+
+ - Ian Lance Taylor <ian@cygnus.com>
+
+ * gdbtk.c (gdbtk_timer_going): If __CYGWIN32__, new static
+ variable.
+ (gdb_cmd): If __CYGWIN32__, if executing the load command, call
+ gdbtk_start_timer and gdbtk_stop_timer.
+ (call_wrapper): If __CYGWIN32__, if the timer is going, turn it
+ off. Clear load_in_progress.
+ (x_event): If load_in_progress, quit if download_cancel_ok.
+ (gdbtk_start_timer): Set gdbtk_timer_going.
+ (gdbtk_stop_timer): Clear gdbtk_timer_going.
+ (gdbtk_wait): Call x_event.
+ (gdbtk_init): Call ide_create_win_grab_command if
+ __CYGIN32__.
+ (gdb_clear_file): Clear stop_pc.
+
+
+Tue Feb 10 17:50:37 1998 Keith Seitz <keiths@onions.cygnus.com>
+
+ * gdbtk.c (gdbtk_modify_tracepoint): Define new tracepoint modification hook.
+ (gdbtk_print_frame_info): Define this hook so that current_source_symtab
+ is set properly.
+ (gdb_actions_command): Use free_actions () from tracepoint.c/h.
+
+Mon Jan 26 11:37:55 1998 Keith Seitz <keiths@onions.cygnus.com>
+
+ * gdbtk.c (gdb_actions_command): Make note of next action
+ before freeing all references to it.
+
+Sat Jan 24 23:52:08 1998 Martin M. Hunt <hunt@cygnus.com>
+
+ * gdbtk.c: Merge from Foundry branch.
+ (TclDebug): New debugging function.
+ (gdb_loc): For frames, find address of calling function
+ instead of whatever is on the stack (usually the next
+ instruction).
+ (gdb_listfiles): Takes an optional pathname argument and
+ returns an alphabetized list of basenames of files in the
+ path.
+
+Wed Jan 22 10:37:02 1998 Keith Seitz <keiths@onions.cygnus.com>
+
+ * symfile.c: Define two new hooks for symbol reading:
+ "pre_add_symbol_hook" and "post_add_symbol_hook". These hooks
+ are called before we begin reading symbols, and after we finish.
+ (generic_load): Use new symbol reading hooks and get rid of
+ compiler warning.
+
+ * gdbtk.c (gdbtk_init): Add hooks for pre- and post-symbol reading.
+ (gdbtk_pre_add_symbol): New function: the pre-add-symbol hook.
+ (gdbtk_post_add_symbol): New function: the post-add-symbol hook.
+ (find_file_in_dir): New function. Moved the guts of gdb_find_file_command
+ into here to allow its use by others.
+ (gdb_loc): Use find_file_in_dir to return the real path to the file
+ (or "N/A" if we can't find it).
+
+ * configure.in (TIX_LIB_EXT): Define new variable for those special cases
+ when TCL_SHLIB_SUFFIX is not enough to specify the dependency.
+
+ * configure: Regenerate.
+
+Fri Jan 23 07:47:06 1998 Fred Fish <fnf@cygnus.com>
+
+ * Makefile.in (uninstall): Remove installed gdbtcl dir, if one
+ was installed.
+
+Thu Jan 15 12:42:28 1998 Keith Seitz <keiths@onions.cygnus.com>
+
+ * gdbtk.c (gdb_immediate_command): New function which does not buffer any
+ output. (Contrast to gdb_cmd.)
+ (gdbtk_init): Install "gdb_immediate" command into interpreter.
+
Wed Jan 14 16:38:44 1998 Keith Seitz <keiths@pizza.cygnus.com>
* configure.in (--enable-gdbtk): If tcl was built with --enable-shared,