gdb: add ptid -> thread map in inferior
authorSimon Marchi <simon.marchi@efficios.com>
Thu, 19 Dec 2019 19:19:41 +0000 (14:19 -0500)
committerSimon Marchi <simon.marchi@efficios.com>
Wed, 1 Jul 2020 00:01:10 +0000 (20:01 -0400)
commitb930cab1bd17b71a6177f35b6511684213765b36
tree920f76f75ebff774a666a292ed9faff8976e8584
parent66d743a43e7fc1440a7f8edf4ede73066045ce41
gdb: add ptid -> thread map in inferior

Add a ptid to thread_info pointer map in the inferior object, in order
to accelerate thread lookups by ptid.  This map is in addition to the
`thread_list` linked list.  But unlike that list, it only contains
non-exited threads.

Change-Id: I81f3651966ebef8425f999a55a146390579baea2
gdb/inferior.c
gdb/inferior.h
gdb/scoped-mock-context.h
gdb/thread-map.h [new file with mode: 0644]
gdb/thread.c
This page took 0.024573 seconds and 4 git commands to generate.