OSDN Git Service

2001-07-20 Martin M. Hunt <hunt@redhat.com>
authorhunt <hunt>
Fri, 20 Jul 2001 23:26:00 +0000 (23:26 +0000)
committerhunt <hunt>
Fri, 20 Jul 2001 23:26:00 +0000 (23:26 +0000)
* library/memwin.itb: Fix syntax to open a new window
using the "-force" flag.

gdb/gdbtk/ChangeLog
gdb/gdbtk/library/memwin.itb

index 1a640e4..19ec67b 100644 (file)
@@ -1,5 +1,8 @@
 2001-07-20  Martin M. Hunt  <hunt@redhat.com>
 
+       * library/memwin.itb: Fix syntax to open a new window
+       using the "-force" flag.
+
        * generic/gdbtk-register.c (gdb_regnames): Fix 'if'
        statement so count is decremented only if "-numbers"
        is the first arg.
index 7feaf08..61728d0 100644 (file)
@@ -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"