This is the mail archive of the
insight@sources.redhat.com
mailing list for the Insight project.
[patch] memory window GoTo
- 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:03:59 -0800
- Subject: [patch] memory window GoTo
This fixes the memory window's "goto" function. It is on the popup
menu.
2002-11-11 Martin M. Hunt <hunt@redhat.com>
* library/memwin.itb: Supply arg to _update_address.
Index: memwin.itb
===================================================================
RCS file: /cvs/src/src/gdb/gdbtk/library/memwin.itb,v
retrieving revision 1.21
diff -p -r1.21 memwin.itb
*** memwin.itb 15 Oct 2002 21:19:51 -0000 1.21
--- memwin.itb 11 Nov 2002 23:01:15 -0000
*************** itcl::body MemWin::goto { addr } {
*** 675,681 ****
set current_addr $addr
$itk_interior.f.cntl delete 0 end
$itk_interior.f.cntl insert end $addr
! _update_address
}
# ------------------------------------------------------------------
--- 675,681 ----
set current_addr $addr
$itk_interior.f.cntl delete 0 end
$itk_interior.f.cntl insert end $addr
! _update_address 1
}
# ------------------------------------------------------------------