gdb: remove unneeded argument in check_multi_target_resumption
authorSimon Marchi <simon.marchi@polymtl.ca>
Wed, 13 Jan 2021 04:42:12 +0000 (23:42 -0500)
committerPedro Alves <pedro@palves.net>
Wed, 17 Mar 2021 13:05:55 +0000 (13:05 +0000)
commitf058c5210f7189e3fdc7a3b16ff89ba4f00d339f
tree8371203e5596293a9532165d842e6529b708b267
parentd0c99a23b21aff9107a4cf49ee626b7db0824a04
gdb: remove unneeded argument in check_multi_target_resumption

If we reach the modified line, resume_target is necessarily nullptr,
because of the check at the beginning of the function.  So we'll
necessarily iterate on all non-exited inferiors (across all targets),
which is what we want.  So just remove the unnecessary argument.

gdb/ChangeLog:

* infrun.c (check_multi_target_resumption): Remove argument to
all_non_exited_inferiors.

Change-Id: If95704915dca19599d5f7f4732bbd6ccd20bf6b4
gdb/ChangeLog
gdb/infrun.c