public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCH 0/4] Regcache fix and optimization
@ 2020-07-20 20:40 Simon Marchi
  2020-07-20 20:40 ` [PATCH 1/4] gdb: rename regcache::current_regcache to regcache::regcaches Simon Marchi
                   ` (4 more replies)
  0 siblings, 5 replies; 27+ messages in thread
From: Simon Marchi @ 2020-07-20 20:40 UTC (permalink / raw)
  To: gdb-patches; +Cc: Morichetti, Laurent, Simon Marchi

The main goal of this series is patch 4, and is about changing the
regcache storage from a linked list to a map, to make lookups and
removals more efficient.

Patches 1 and 2 are cleanups.  They are not necessary, but I think they
would be nice to have.

Patch 3 addresses a potential bug I spotted while reading the code.

Simon Marchi (4):
  gdb: rename regcache::current_regcache to regcache::regcaches
  gdb: move regcache::regcaches to regcache.c
  gdb: pass target to thread_ptid_changed observable
  gdb: change regcache list to be a map

 gdb/dwarf2/index-write.c |   1 +
 gdb/infrun.c             |  78 +++++++++++-
 gdb/observable.h         |   6 +-
 gdb/record-btrace.c      |   1 +
 gdb/regcache.c           | 259 +++++++++++++++++++++++++++++----------
 gdb/regcache.h           |   7 --
 gdb/sparc64-tdep.c       |   2 +-
 gdb/thread.c             |   2 +-
 gdbsupport/ptid.h        |  16 +++
 9 files changed, 291 insertions(+), 81 deletions(-)

-- 
2.26.2


^ permalink raw reply	[flat|nested] 27+ messages in thread

end of thread, other threads:[~2020-08-12 15:17 UTC | newest]

Thread overview: 27+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-20 20:40 [PATCH 0/4] Regcache fix and optimization Simon Marchi
2020-07-20 20:40 ` [PATCH 1/4] gdb: rename regcache::current_regcache to regcache::regcaches Simon Marchi
2020-07-23 20:01   ` Pedro Alves
2020-07-20 20:40 ` [PATCH 2/4] gdb: move regcache::regcaches to regcache.c Simon Marchi
2020-07-23 20:03   ` Pedro Alves
2020-07-20 20:41 ` [PATCH 3/4] gdb: pass target to thread_ptid_changed observable Simon Marchi
2020-07-23 20:42   ` Pedro Alves
2020-07-30 15:27     ` Simon Marchi
2020-08-05 14:50       ` Pedro Alves
2020-08-05 19:08         ` Simon Marchi
2020-08-05 22:29           ` Pedro Alves
2020-07-20 20:41 ` [PATCH 4/4] gdb: change regcache list to be a map Simon Marchi
2020-07-24  1:53   ` Pedro Alves
2020-07-24 16:59     ` John Baldwin
2020-07-30 16:26       ` Simon Marchi
2020-07-30 16:58     ` Simon Marchi
2020-07-30 17:03       ` Simon Marchi
2020-08-05 18:02         ` Pedro Alves
2020-08-05 20:25           ` Simon Marchi
2020-07-30 17:07       ` Simon Marchi
2020-07-30 18:17     ` Simon Marchi
2020-08-05 18:14       ` Pedro Alves
2020-08-10 19:15   ` Tom Tromey
2020-08-10 19:25     ` Simon Marchi
2020-08-12 12:52   ` Tom Tromey
2020-08-12 15:17     ` Tom Tromey
2020-08-06 20:27 ` [PATCH 0/4] Regcache fix and optimization Simon Marchi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).