[RFA] debug window fix
Martin M. Hunt
hunt@redhat.com
Thu Jan 3 13:10:00 GMT 2002
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
}
}
More information about the Insight
mailing list