From: Pedro Alves <pedro@codesourcery.com>
To: gdb-patches@sourceware.org
Cc: "Ulrich Weigand" <uweigand@de.ibm.com>,
Tom Tromey <tromey@redhat.com>,
Markus Alber <markus@hyperion-imrt.org>,
Michael Snyder <msnyder@vmware.com>
Subject: Re: performance of multithreading gets gradually worse under gdb
Date: Fri, 04 Feb 2011 15:01:00 -0000 [thread overview]
Message-ID: <201102041501.32152.pedro@codesourcery.com> (raw)
In-Reply-To: <201102041458.p14EwY9e025992@d06av02.portsmouth.uk.ibm.com>
On Friday 04 February 2011 14:58:34, Ulrich Weigand wrote:
> Tom Tromey wrote:
>
> > * thread.c (free_thread): Call free_thread_regcache.
> > * regcache.h (free_thread_regcache): Declare.
> > * regcache.c (current_regcache): Remove.
> > (get_thread_arch_regcache): Use thread's regcache.
> > (free_thread_regcache): New function.
> > (regcache_thread_ptid_changed): Use thread's regcache.
> > (invalidate_registers_maybe): New function.
> > (registers_changed_ptid): Use iterate_over_threads and
> > invalidate_registers_maybe.
> > * gdbthread.h (struct thread_info) <regcache>: New field.
>
> Looks good to me ...
Please see my email on gdb@ before proceeding with this.
--
Pedro Alves
next prev parent reply other threads:[~2011-02-04 15:01 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <201102041349.p14DnCeY025641@d06av02.portsmouth.uk.ibm.com>
2011-02-04 14:50 ` Tom Tromey
2011-02-04 14:58 ` Ulrich Weigand
2011-02-04 15:01 ` Pedro Alves [this message]
[not found] <201102032140.p13Le89f031563@d06av02.portsmouth.uk.ibm.com>
[not found] ` <201102041455.20607.pedro@codesourcery.com>
[not found] ` <m34o8jddod.fsf@fleche.redhat.com>
2011-02-04 15:56 ` Pedro Alves
2011-02-04 15:58 ` Pedro Alves
[not found] ` <201102041555.52179.pedro__21913.9744448059$1296834976$gmane$org@codesourcery.com>
2011-02-04 17:02 ` Tom Tromey
2011-02-05 9:34 ` Markus Alber
2011-02-07 14:05 ` Markus Alber
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201102041501.32152.pedro@codesourcery.com \
--to=pedro@codesourcery.com \
--cc=gdb-patches@sourceware.org \
--cc=markus@hyperion-imrt.org \
--cc=msnyder@vmware.com \
--cc=tromey@redhat.com \
--cc=uweigand@de.ibm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox