Re: performance of multithreading gets gradually worse under gdb

Tom Tromey
2011-02-03T22:04:40Z

>>>>> "Ulrich" == Ulrich Weigand <uweigand@de.ibm.com> writes:

Ulrich> I guess we should just remove the current_regcache = NULL line now.

Yes, it seems so to me as well.

Ulrich> (Actually, now that every thread always has a thread_info, the
Ulrich> best thing would probably be anyway to hang each thread's regcaches
Ulrich> off the thread_info, and do away with the global list completely.)

I suppose in this case, invalidating could simply clear a regcache
instead of deleting (and subsequently recreating) it. Is that correct?

Tom