This is the mail archive of the
insight@sources.redhat.com
mailing list for the Insight project.
[RFA] debug window fix
- From: "Martin M. Hunt" <hunt at redhat dot com>
- To: Insight Mailing List <insight at sources dot redhat dot com>
- Date: Thu, 3 Jan 2002 13:10:40 -0800
- Subject: [RFA] debug window fix
- Organization: Red Hat Inc
There is a problem with the Debug WIndow options dialog.
Selecting one of the 3 radiobuttons on the top causes
the error.
--
Martin Hunt
GDB Engineer
Red Hat, Inc.
2002-01-02 Martin M. Hunt <hunt@redhat.com>
* library/debugwin.itb: Fix incorrect button names
so they will be enabled/disabled properly.
Index: library/debugwin.itb
===================================================================
RCS file: /cvs/src/src/gdb/gdbtk/library/debugwin.itb,v
retrieving revision 1.6
diff -u -p -r1.6 debugwin.itb
--- debugwin.itb 2001/11/08 18:31:40 1.6
+++ debugwin.itb 2002/01/03 21:06:37
@@ -420,7 +420,7 @@ body DebugWinDOpts::_all {} {
#enable class buttons
set num 0
foreach class $_classes {
- $itk_interior.f.classes.childsite.$num configure -state normal
+ [$itk_interior.f.classes childsite].$num configure -state normal
incr num
}
}
@@ -430,7 +430,7 @@ body DebugWinDOpts::_all {} {
#enable class buttons
set num 0
foreach class $_classes {
- $itk_interior.f.classes.childsite.$num configure -state normal
+ [$itk_interior.f.classes childsite].$num configure -state normal
incr num
}
}
@@ -440,7 +440,7 @@ body DebugWinDOpts::_all {} {
# disable class buttons
set num 0
foreach class $_classes {
- $itk_interior.f.classes.childsite.$num configure -state disabled
+ [$itk_interior.f.classes childsite].$num configure -state disabled
incr num
}
}