performance of multithreading gets gradually worse under gdb

Tom Tromey tromey@redhat.com
Thu Feb 3 22:04:00 GMT 2011


>>>>> "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



More information about the Gdb mailing list