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)
committerLaurent Morichetti <laurent.morichetti@amd.com>
Thu, 23 Apr 2020 22:21:24 +0000 (15:21 -0700)
commit9cd8b2435ba3c1898f516ef74dbbba18c84bc04c
tree0882c3031987277a7da7e7cf6b33602be910d19e
parent8b384c1d6f5b829f4105280e6a54a8de8736be12
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.

Change-Id: I0ac4832542d8427625e330ff9dc3e7f989b164e8
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.024749 seconds and 4 git commands to generate.