]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
gdbserver: add thread -> process backlink
authorSimon Marchi <simon.marchi@efficios.com>
Thu, 7 Nov 2024 16:16:59 +0000 (16:16 +0000)
committerSimon Marchi <simon.marchi@polymtl.ca>
Fri, 8 Nov 2024 14:16:23 +0000 (09:16 -0500)
commitdceb3cd436e0240857ff914d3f11872a78d0c63c
tree0b5e9e1078f1ad8d0e5a7fa10b7ee4adedfd42ce
parent3470a0e144df6c01f8479fa649f43aa907936e7e
gdbserver: add thread -> process backlink

In a few spots, we need to get to a process from a thread.  Having a
backlink from thread to process is cheap and makes the operation
trivial, add it.

Change-Id: I8a94b2919494b1dcaf954de2246386794308aa82
Reviewed-By: Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
gdbserver/gdbthread.h
gdbserver/inferiors.cc