This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: performance of multithreading gets gradually worse under gdb
- From: Tom Tromey <tromey at redhat dot com>
- To: "Ulrich Weigand" <uweigand at de dot ibm dot com>
- Cc: markus at hyperion-imrt dot org (Markus Alber), msnyder at vmware dot com (Michael Snyder), gdb at sourceware dot org, pedro at codesourcery dot com
- Date: Thu, 03 Feb 2011 15:04:12 -0700
- Subject: Re: performance of multithreading gets gradually worse under gdb
- References: <201102032140.p13Le89f031563@d06av02.portsmouth.uk.ibm.com>
>>>>> "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