2005-08-31 Keith Seitz <keiths@redhat.com>
+ * library/help/target.html: Update dialog options.
+ * library/targetselection.itb (help): Implement.
+ (build_win): Don't disable help button.
+ Only display "use tty" option on unix hosts.
+
+2005-08-31 Keith Seitz <keiths@redhat.com>
+
* library/bpwin.itb (bp_store): gdb_get_breakpoint_info outputs
the breakpoint condition, too -- include it in the lassign.
<UL>
<LI><A HREF="#options_run_until_main">Run until 'main'</A></LI>
<LI><A HREF="#options_bp_at_exit">Set breakpoint at 'exit'</A></LI>
+<LI><A HREF="#options_set_bp_at">Set user-specifid breakpoint</A></LI>
<LI><A HREF="#options_download_dialog">Display Download Dialog</A></LI>
+<LI><A HREF="#options_use_xterm">Use xterm for inferior's tty (unix only)
+ </A></LI>
</UL>
<h3><A HREF="#more_options">More Options</A></h3>
<DD>Sets a breakpoint at main()
<DT><A NAME="options_bp_at_exit">Set breakpoint at 'exit'</A>
<DD>Sets a breakpoint at exit()
+ <DT><A NAME="options_set_bp_at">Set breakpoint at</A>
+ <DD>Sets a breakpoint at a user-specified locaiton</A>
<DT><A NAME="options_download_dialog">Display Download Dialog</A>
<DD>Displays a dialog showing the progress of the download to
the target section by section
+ <DT><A NAME="options_use_xterm">Use xterm as inferior's tty</A>
+ <DD>Causes insight to open a tty for inferior I/O (unix versions
+ only)
</DL>
<BR>
<H3><A NAME="more_options">More Options</A></H3>
# Target selection dialog for Insight.
-# Copyright 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004 Red Hat, Inc.
+# Copyright 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 Red Hat, Inc.
#
# This program is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License (GPL) as published by
entry $f.fr.bp.func -textvariable [pref varname gdb/load/bp_func] -width 20
checkbutton $f.fr.verb -text [gettext "Display Download Dialog"] \
-variable [pref varname gdb/load/$target-verbose]
- checkbutton $f.fr.xterm -text [gettext "Use xterm as inferior's tty"] \
- -variable [pref varname gdb/process/xtermtty] \
- -onvalue yes -offvalue no
+
+ if {$tcl_platform(platform) == "unix"} {
+ checkbutton $f.fr.xterm -text [gettext "Use xterm as inferior's tty"] \
+ -variable [pref varname gdb/process/xtermtty] \
+ -onvalue yes -offvalue no
+ }
if {![pref get gdb/control_target]} {
$f.fr.main configure -state disabled
-default active
button $btns.cancel -text [gettext Cancel] -width 7 \
-command [code $this cancel]
- button $btns.help -text [gettext Help] -width 7 -command [code $this help] \
- -state disabled
+ button $btns.help -text [gettext Help] -width 7 -command [code $this help]
+
standard_button_box $btns
bind $btns.ok <Return> "$btns.ok flash; $btns.ok invoke"
bind $btns.cancel <Return> "$btns.cancel flash; $btns.cancel invoke"
# METHOD: help - launches context sensitive help.
# ------------------------------------------------------------------
itcl::body TargetSelection::help {} {
+ open_help target.html
}
# ------------------------------------------------------------------