]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Revert "gdb: remove unnecessary parameter wait_ptid from do_target_wait"
authorAndrew Burgess <aburgess@redhat.com>
Mon, 9 May 2022 16:51:54 +0000 (17:51 +0100)
committerAndrew Burgess <aburgess@redhat.com>
Mon, 25 Mar 2024 17:25:06 +0000 (17:25 +0000)
commit07505b613a0605ef42a004364ab8ccb70fd3c8eb
tree07fb43b0b20d37fa1677d0b86d152d687d5525e8
parent198ff6ff819c240545f9fc68b39636fd376d4ba9
Revert "gdb: remove unnecessary parameter wait_ptid from do_target_wait"

This reverts commit ac0d67ed1dcf470bad6a3bc4800c2ddc9bedecca.

There was nothing wrong with the commit which I'm reverting here, but
it removed some functionality that will be needed for a later commit;
that is, the ability for GDB to ask for events from a specific ptid_t
via the do_target_wait function.

In a follow up commit, this functionality will be used to implement
inferior function calls in multi-threaded inferiors.

This is not a straight revert of the above commit.  Reverting the
above commit replaces a 'nullptr' with 'NULL', I've gone in and
changed that, preserving the 'nullptr'.

Reviewed-By: Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
Tested-By: Luis Machado <luis.machado@arm.com>
Tested-By: Keith Seitz <keiths@redhat.com>
gdb/infrun.c