Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: "Ulrich Weigand" <uweigand@de.ibm.com>
To: tromey@redhat.com (Tom Tromey)
Cc: markus@hyperion-imrt.org (Markus Alber),
	       msnyder@vmware.com (Michael Snyder),
	gdb-patches@sourceware.org,        pedro@codesourcery.com
Subject: Re: performance of multithreading gets gradually worse under gdb
Date: Fri, 04 Feb 2011 14:58:00 -0000	[thread overview]
Message-ID: <201102041458.p14EwY9e025992@d06av02.portsmouth.uk.ibm.com> (raw)
In-Reply-To: <m3bp2rdfci.fsf@fleche.redhat.com> from "Tom Tromey" at Feb 04, 2011 07:49:49 AM

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

Thanks,
Ulrich

-- 
  Dr. Ulrich Weigand
  GNU Toolchain for Linux on System z and Cell BE
  Ulrich.Weigand@de.ibm.com


  reply	other threads:[~2011-02-04 14:58 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 [this message]
2011-02-04 15:01     ` Pedro Alves
     [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=201102041458.p14EwY9e025992@d06av02.portsmouth.uk.ibm.com \
    --to=uweigand@de.ibm.com \
    --cc=gdb-patches@sourceware.org \
    --cc=markus@hyperion-imrt.org \
    --cc=msnyder@vmware.com \
    --cc=pedro@codesourcery.com \
    --cc=tromey@redhat.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