[RFA] memory window popup dialig fix
Martin M. Hunt
hunt@redhat.com
Fri Jul 20 15:18:00 GMT 2001
This patch fixes the "open new window at adress 0xf00" popup option so it
actually works.
2001-07-20 Martin M. Hunt <hunt@redhat.com>
* library/memwin.itb: Fix syntax to open a new window
using the "-force" flag.
Index: memwin.itb
===================================================================
RCS file: /cvs/src/src/gdb/gdbtk/library/memwin.itb,v
retrieving revision 1.8
diff -u -p -r1.8 memwin.itb
--- memwin.itb 2001/06/04 15:49:53 1.8
+++ memwin.itb 2001/07/20 22:15:54
@@ -686,7 +686,7 @@ body MemWin::do_popup {X Y} {
$itk_interior.t.menu add command -label "Go To [$itk_interior.t curvalue]"
-underline 0 \
-command "$this goto [$itk_interior.t curvalue]"
$itk_interior.t.menu add command -label "Open New Window at
[$itk_interior.t curvalue]" -underline 0 \
- -command [list ManagedWin::open -force MemWin -addr_exp [$itk_interior.t
curvalue]]
+ -command [list ManagedWin::open MemWin -force -addr_exp [$itk_interior.t
curvalue]]
$itk_interior.t.menu add separator
$itk_interior.t.menu add command -label "Preferences..." -underline 0 \
-command "$this create_prefs"
More information about the Insight
mailing list