This is the mail archive of the
insight@sources.redhat.com
mailing list for the Insight project.
[patch[ fix Control-p = print
- From: "Martin M. Hunt" <hunt at redhat dot com>
- To: "insight at sources dot redhat dot com" <insight at sources dot redhat dot com>
- Date: 11 Nov 2002 15:25:03 -0800
- Subject: [patch[ fix Control-p = print
Another minor bug off my list.
2002-11-11 Martin M. Hunt <hunt@redhat.com>
* library/srctextwin.itb (do_key): Add arg to
print call.
Index: library/srctextwin.itb
===================================================================
RCS file: /cvs/src/src/gdb/gdbtk/library/srctextwin.itb,v
retrieving revision 1.39
diff -p -r1.39 srctextwin.itb
*** library/srctextwin.itb 8 Nov 2002 05:25:20 -0000 1.39
--- library/srctextwin.itb 11 Nov 2002 23:22:05 -0000
*************** itcl::body SrcTextWin::addToWatch {var}
*** 2159,2165 ****
itcl::body SrcTextWin::do_key {key} {
if {!$Running} {
switch $key {
! print { print }
download { Download::download_it }
run { $parent inferior run }
stack { ManagedWin::open StackWin }
--- 2159,2165 ----
itcl::body SrcTextWin::do_key {key} {
if {!$Running} {
switch $key {
! print { print $top }
download { Download::download_it }
run { $parent inferior run }
stack { ManagedWin::open StackWin }