Change inferior thread list to be a thread map
authorSimon Marchi <simon.marchi@efficios.com>
Thu, 19 Dec 2019 19:19:41 +0000 (14:19 -0500)
committerSimon Marchi <simon.marchi@efficios.com>
Thu, 19 Dec 2019 19:20:52 +0000 (14:20 -0500)
commit708e4b9f189a86d542519b35e36e3f087b36b524
tree1564c37f3403a7bc359495c527e1404b08561e44
parentfe33e22e7b2ef36f564df92c7259728eaf2e5028
Change inferior thread list to be a thread map

Remove the inferior::thread_list linked list, replace with
inferior::thread_map, an std::map indexed by ptid.  This should make it
faster to look up a thread from its ptid.
gdb/gdbarch-selftests.c
gdb/gdbthread.h
gdb/inferior.c
gdb/inferior.h
gdb/mi/mi-main.c
gdb/regcache.c
gdb/remote.c
gdb/thread-iter.c
gdb/thread-iter.h
gdb/thread-map.h [new file with mode: 0644]
gdb/thread.c
This page took 0.024807 seconds and 4 git commands to generate.