]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
displaced step: pass down target_waitstatus instead of gdb_signal
authorPedro Alves <pedro@palves.net>
Tue, 22 Jun 2021 14:42:51 +0000 (15:42 +0100)
committerPedro Alves <pedro@palves.net>
Mon, 5 Dec 2022 13:38:06 +0000 (13:38 +0000)
commit8dee7636072b4f171fa8beedc14e7294fcf97957
treebd936bb9f736c2486e5965149a26090093d22dbe
parent15b5cf5c2d645463db09a2da8d5380bcf9d577ee
displaced step: pass down target_waitstatus instead of gdb_signal

This commit tweaks displaced_step_finish & friends to pass down a
target_waitstatus instead of a gdb_signal.  This needed because a
patch later in the series will want to make
displaced_step_buffers::finish handle TARGET_WAITKIND_THREAD_EXITED.
It also helps with the TARGET_WAITKIND_THREAD_CLONED patch.

Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=27338
Change-Id: I4c5d338647b028071bc498c4e47063795a2db4c0
gdb/displaced-stepping.c
gdb/displaced-stepping.h
gdb/gdbarch-components.py
gdb/gdbarch-gen.h
gdb/gdbarch.c
gdb/infrun.c
gdb/linux-tdep.c
gdb/linux-tdep.h
gdb/rs6000-tdep.c