* Makefile.in (CLIBS): Put LIBIBERTY last.
+start-sanitize-gdbtk
* gdbtk.c (gdbtk_wait gdbtk_init): Portability improvements for
SIGIO handling.
+end-sanitize-gdbtk
* config/mips/xm-irix4.h, config/mips/xm-irix5.h: #define
- _BSD_COMPAT to get reliable signal handling (needed for GDBtk).
+ _BSD_COMPAT to get reliable signal handling.
* value.h: Remove obsolete comments about FRAME vs struct
frame_info *.
+start-sanitize-gdbtk
* gdbtk.tcl (update_assembly): Force update to make sure that pc
* (create_source_window): Add source file selection to View menu.
* (create_command_window (<Key-Return> binding): Quote text fed
into gdb_cmd to prevent eval errors.
+end-sanitize-gdbtk
- * defs.h, gdbtk.c (gdbtk_fputs), main.c (gdb_fputs), top.c: Add
- stream arg to fputs_unfiltered_hook. Differentiate stdout from
- stderr when passing text into tcl land.
+ * defs.h, main.c (gdb_fputs), top.c: Add stream arg to
+ fputs_unfiltered_hook.
* defs.h, top.c, utils.c (error): Add error_hook.
+start-sanitize-gdbtk
* gdbtk.c: Improve mechanism for capturing output values.
(full_filename): Remove.
(gdb_cmd call_wrapper gdbtk_init): Protect all calls from tcl land
with call_wrapper. This prevents longjmps (usually via error())
from jumping out of tcl/tk and leaving things in an indeterminate
state.
+ (gdbtk_fputs): Differentiate stdout from stderr when passing text
+ into tcl land.
* gdbtk.tcl: New view option to disable line numbers. Put catch
around most uses of gdb_cmd. Add update button to reg config
window. Stop doing immediate updates when selecting registers.
Change register view values into checkbuttons.
+end-sanitize-gdbtk
(INIT_EXTRA_FRAME_INFO): Call sparc_init_extra_frame_info.
(PRINT_EXTRA_FRAME_INFO): Define.
+start-sanitize-gdbtk
* gdbtk.tcl (reg_config_menu create_registers_window
for register display list.
* (recompute_reg_display_list update_registers): Fix bug with not
displaying all registers.
+end-sanitize-gdbtk
not OBJ_UNWIND_INFO. Assigning to a cast is a GCC-ism which
the HP compiler doesn't like.
+start-sanitize-gdbtk
* gdbtk.c: New tcl commands: gdb_fetch_registers,
populate_reg_window update_registers): Revamp register window.
Allow selection of registers to be displayed. Highlight changed
registers.
+end-sanitize-gdbtk
* config/rs6000/tm-rs6000.h (setpgrp): move defn from here...
* config/rs6000/xm-rs6000.h: ...to here.
+start-sanitize-gdbtk
* gdbtk.tcl (build_framework): Fix bug with setting window titles.
* gdbtk.tcl: Re-arrange windows using new, consistent layout. Clean
up lots of code and centralize framework initialization.
+end-sanitize-gdbtk
+start-sanitize-gdbtk
* Makefile.in: Fix the test for installing gdbtk.
+end-sanitize-gdbtk
* hppa-tdep.c: Remove including sys/dir.h from a target file.
to set remote load type and protocol.
* rom68k-rom.c: Add to_stop in target_ops.
+start-sanitize-gdbtk
* Makefile.in: Install gdbtk.tcl.
* configure.in: Add ENABLE_GDBTK flag.
* gdbtk.c (gdb_sourcelines): Returns list of source lines
containing code. (gdb_regnames): Returns list of register names.
+end-sanitize-gdbtk
* frame.h (FRAME, FRAME_INFO_ID, FRAME_ADDR): Remove.
* blockframe.c (get_frame_info): Remove.
* a29k-tdep.c, alpha-tdep.c, blockframe.c, breakpoint.c,
- breakpoint.h, energize.c, findvar.c, gdbtk.c, gould-pinsn.c,
+ breakpoint.h, energize.c, findvar.c, gould-pinsn.c,
h8300-tdep.c, h8500-tdep.c, hppa-tdep.c, i386-tdep.c, i960-tdep.c,
infcmd.c, inferior.h, infrun.c, m68k-tdep.c, m88k-tdep.c,
mips-tdep.c, nindy-tdep.c, printcmd.c, pyr-tdep.c, rs6000-tdep.c,
remote-nindy.c, remote-os9k.c, remote-pa.c, remote-sim.c,
remote-st.c, remote-udi.c, remote-vx.c, remote-z8k.c, remote.c,
w89k-rom.c, target.c, target.h: Add support for target_stop().
+start-sanitize-gdbtk
* gdbtk.c (gdb_stop): Switch to target_stop().
+end-sanitize-gdbtk
* nlm/Makefile.in: install gdbserve.nlm.
+start-sanitize-gdbtk
* Makefile.in: Use $(objdir)/tcl and $(objdir)/tk if they are
* (gdbtk_init): Use ConnectionNumber macro instead of referencing
Display structure directly.
* gdbtk.tcl: Change exit button to quit button.
+end-sanitize-gdbtk
- * defs.h, gdbtk.c, main.c, top.c: Change sense and name of
+ * defs.h, main.c, top.c: Change sense and name of
no_windows variable. Now called use_windows, and defaults to off
(for compatibility).
+start-sanitize-gdbtk
+ * gdbtk.c: Ditto.
+end-sanitize-gdbtk
target_wait_hook to allow GUI to handle blocking for inferior. Call
call_command_hook in execute_command to provide means for wrapping
commands with GUI state change updates.
+start-sanitize-gdbtk
* gdbtk.c (gdb_cmd): Force GUI into idle mode when errors occur.
* (gdb_stop): New tcl command to stop the target process.
* (x_event, gdbtk_wait): Allow GUI to interrupt gdb out of target
* Change bindings of mouse button 1 in assembly and source window
to just set or clear breakpoints when in the margin tag.
* Change shape of register window to be more vertical to better
- reflect it's contents.
+ reflect its contents.
* Add stop button.
* Cleanup some code around command window bindings.
+end-sanitize-gdbtk
* infrun.c (wait_for_inferior): Make sure
through_sigtramp_breakpoint is non-null before deleting.
char * (from const char *) before assigning. Don't save string we
pass to record_minimal_symbol (it already saves it).
+start-sanitize-gdbtk
* gdbtk.tcl: Let ^U delete lines in the command window.
+end-sanitize-gdbtk
* defs.h (QUIT): Call interactive_hook to allow GUI to interrupt.
Also, add decl for symtab_to_filename.
+start-sanitize-gdbtk
* gdbtk.c: Replace calls to full_filename with symtab_to_filename.
* gdbtk.tcl: New routine pc_to_line replaces in line code. New
routine decr replaces in line code.
on PC instead of function name, since function names can be
ambiguous (usually seen with shared libs). Also, use catch to
simplify code where we don't care about failures.
+end-sanitize-gdbtk
* source.c (symtab_to_filename): New. Returns the file
associated with a symtab.
* top.c: Define interactive_hook. Called during QUIT to animate
Having the objfile point to bfd_asymbol_name directly doesn't work
if we save and restore a mapped symbol file.
+start-sanitize-gdbtk
* gdbtk.tcl: Add ref counts to breakpoint tags.
* Set names of top-level windows.
* Add register display window.
* Add PC to label of assembly window.
+end-sanitize-gdbtk
to add a generic ROM monitor interface, and support file for the
WinBond W89K and the Oki OP50N PA based target boards.
+start-sanitize-gdbtk
* gdbtk.c (gdbtk_flush gdbtk_fputs): Buffer up output to make
* Add assembly window, and breapoint support.
* Make button 1 in margin toggle breakpoints.
* Use stippling to indicate breakpoint disabling.
+end-sanitize-gdbtk
* config/mips/nm-sysv4.h: New file, includes config/nm-sysv4.h.
* config/sparc/nm-sysv4.h: New file, includes config/nm-sysv4.h.
+start-sanitize-gdbtk
* configure.in: Don't symlink to gdbtk.tcl if it's already there.
+end-sanitize-gdbtk
* Change _initialize_utils to initialize_utils cuz we don't use
automatic initialization of utils.c anymore.
+start-sanitize-gdbtk
* Support for TK GUI.
* Makefile.in: Add rule for gdbtk.o.
* configure.in: Add support for --enable-gdbtk.
* gdbtk.c: New file. Contains support routines for TK interface.
* gdbtk.tcl: New file. Implements GUI policy.
+end-sanitize-gdbtk
* remote.c: Get rid of #ifdef DONT_USE_REMOTE. It's no longer
necessary.