This is the mail archive of the insight@sources.redhat.com mailing list for the Insight project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Insight crash


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]