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, 16 Jan 2020 22:03:48 +0000 (17:03 -0500)
commitcd9629e1df1a280c19e1daaf6c1195afbab0aca9
treef080c6ec2eacde2cd849cb921fd106abab5713ea
parent54a01e885b23df89e7e1e1585e896e0b7c53cf1d
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/thread-iter.c
gdb/thread-iter.h
gdb/thread-map.h [new file with mode: 0644]
gdb/thread.c
This page took 0.024837 seconds and 4 git commands to generate.