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 session regression (?)


On 4 Oct 2001, Tom Tromey wrote:

> I tried this and it looks better to me.  No global variables.  We load
> a session for any file load, even if run from the console.
>
> What do you think of this?

Hmmm.. This is looking like what I would have done! :-) At least we know
we're not BOTH on cloud 9 with this...

> After this and the other session patch are cleared up I'll do my part
> for cleanliness and update session.tcl to use a namespace.

That would be great. I was going to do it myself, but I kinda got
distracted oday with building a new computer! Cygwin outta run
[censored]ly fas on this thing! :-)

I'll have to take another close look at this. Off hand, I think it looks
prettty good. One question, though. My original intent is to whack all the
hooks in favor of event-passing. The two are rather similar, but in my
scheme, event-receivers must be objects: they derive from GDBEventHandler.
How would this patch fit in with this? Would we just create some sort of
global "I am really contexless" object to deal with these sorts of things,
or should I just keep a few hooks lying around. Something tells me these
file hooks should really be both.

Food for thought. Right now the whle GDBEvent thing is kinda academic,
anyway.

Expect to hear from me by Monday again. :-(
Keith



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