gdb: remove unnecessary parameter wait_ptid from do_target_wait
authorSimon Marchi <simon.marchi@polymtl.ca>
Tue, 22 Jun 2021 18:57:29 +0000 (14:57 -0400)
committerSimon Marchi <simon.marchi@polymtl.ca>
Tue, 22 Jun 2021 18:57:29 +0000 (14:57 -0400)
commitac0d67ed1dcf470bad6a3bc4800c2ddc9bedecca
treec5ae7224e2c4ed65a258e1acce6889e0e80bf9f2
parent4e317a765bbe1c47fb9d461b7effa40f34220c85
gdb: remove unnecessary parameter wait_ptid from do_target_wait

do_target_wait has a wait_ptid parameter, to filter what ptid we wait
on.  The sole caller of do_target_wait passes minus_one_ptid, meaning
"all ptids".  So in practice, this parameter is not needed, remove it.

gdb/ChangeLog:

* infrun.c (do_target_wait): Remove wait_ptid parameter.
(fetch_inferior_event): Adjust.

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