This is the mail archive of the
insight@sources.redhat.com
mailing list for the Insight project.
Moved some lost code to interface.tcl
- To: Insight List <insight at sources dot redhat dot com>
- Subject: Moved some lost code to interface.tcl
- From: Fernando Nasser <fnasser at redhat dot com>
- Date: Thu, 04 Jan 2001 11:38:18 -0500
- Organization: Red Hat Canada
This was obviously a bit of interface code that somehow was lost into
the
source window menu code (it was the only user -- not that it justifies
it).
I have also renamed one of the interface procs that did not have the
gdbtk
prefix.
Fernando
2001-01-04 Fernando Nasser <fnasser@totem.toronto.redhat.com>
* library/interface.tcl (gdbtk_connect): New proc. Connects to ai
remote target (code previously at library/gdbmenubar.itcl).
(disconnect): Rename to...
(gdbtk_disconnect): New name for proc disconnect.
* library/gdbmenubar.itcl (do_connect): Remove the code mentioned
above and call the new interface proc gdbtk_connect.
Also, call ::update idletasks after changing the state of the
menu entries.
(do_detach): Call gdbtk_disconnect, not ::disconnect (old name).
(do_disconnect): Call gdbtk_disconnect, not disconnect (old name).
--
Fernando Nasser
Red Hat Canada Ltd. E-Mail: fnasser@redhat.com
2323 Yonge Street, Suite #300
Toronto, Ontario M4P 2C9