This is the mail archive of the
insight@sources.redhat.com
mailing list for the Insight project.
Re: Insight crash
- To: tromey at redhat dot com, Insight List <insight at sourceware dot cygnus dot com>
- Subject: Re: Insight crash
- From: Fernando Nasser <fnasser at cygnus dot com>
- Date: Mon, 11 Dec 2000 16:41:16 +0000
- Organization: Red Hat Canada Ltd. - Toronto
- References: <87aea63axy.fsf@creche.redhat.com> <3A315967.8A49465B@cygnus.com>
Fernando Nasser wrote:
>
> Index: variables.tcl
> ===================================================================
> RCS file: /cvs/src/src/gdb/gdbtk/library/variables.tcl,v
> retrieving revision 1.3
> diff -c -p -r1.3 variables.tcl
> *** variables.tcl 2000/05/03 19:48:48 1.3
> --- variables.tcl 2000/12/08 21:50:44
> *************** class VariableWin {
> *** 39,44 ****
> --- 39,48 ----
> add_hook gdb_no_inferior_hook "$this no_inferior"
> add_hook gdb_idle_hook [list $this idle]
> add_hook gdb_clear_file_hook [code $this clear_file]
> + # FIXME: This is to harsh. We must add to varobj a method
> + # to re-parse the expressions so we can keep the contents
> + # of the window whenever possible.
> + add_hook gdb_file_changed [code $this clear_file]
^^^^^^^^^^^^^^^^
Sorry, it should be file_changed_hook
This was Friday night...
> }
>
> # ------------------------------------------------------------------
--
Fernando Nasser
Red Hat Canada Ltd. E-Mail: fnasser@redhat.com
2323 Yonge Street, Suite #300
Toronto, Ontario M4P 2C9