gdb/infrun: add inferior parameters to stop_all_threads and restart_threads
authorSimon Marchi <simon.marchi@polymtl.ca>
Thu, 13 Jan 2022 19:15:45 +0000 (14:15 -0500)
committerSimon Marchi <simon.marchi@polymtl.ca>
Mon, 17 Jan 2022 20:11:17 +0000 (15:11 -0500)
commit4ffff7d340dd6c4134198d5e0e2e67a3e8c50e31
tree081a5783c26ba75b03bc2b22b383b3ab93dfd8ad
parent060f2ef8c0b1c1af78cfb745cf0a2248c2d9c912
gdb/infrun: add inferior parameters to stop_all_threads and restart_threads

A following patch will want to stop all threads of a given inferior (as
opposed to all threads of all inferiors) while handling a vfork, and
restart them after.  To help with this, add inferior parameters to
stop_all_threads and restart_threads.  This is done as a separate patch
to make sure this doesn't cause regressions on its own, and to keep the
following patches more concise.

No visible changes are expected here, since all calls sites pass
nullptr, which should keep the existing behavior.

Change-Id: I4d9ba886ce842042075b4e346cfa64bbe2580dbf
gdb/infrun.c
gdb/infrun.h
This page took 0.024751 seconds and 4 git commands to generate.