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@efficios.com>
Tue, 18 Jan 2022 18:14:21 +0000 (13:14 -0500)
commit8631fd9bdff4163507e3b8e69c68d92e05785da3
tree33237990648ce94cfb16a73df42b98fea5d4e3b5
parente6e25d5a7c1e572dc5875844c5340fcc65f42511
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.036014 seconds and 4 git commands to generate.