gdb/infrun: add reason parameter to stop_all_threads
authorSimon Marchi <simon.marchi@efficios.com>
Mon, 17 Jan 2022 16:27:35 +0000 (11:27 -0500)
committerSimon Marchi <simon.marchi@polymtl.ca>
Thu, 31 Mar 2022 15:32:33 +0000 (11:32 -0400)
commit4f5539f026fafe2a3bf190dd86e95f87d75a00e7
tree024e004b82ad1876ab1e240014e90a07481de2a9
parent6e6e87de92b1c3ba95bf5f1932c59efea71ec4f6
gdb/infrun: add reason parameter to stop_all_threads

Add a "reason" parameter, only used to show in debug messages what is
the reason for stopping all threads.  This helped me understand the
debug logs while adding some new uses of stop_all_threads, so I am
proposing to merge it.

Change-Id: I66c8c335ebf41836a7bc3d5fe1db92c195f65e55
gdb/infcmd.c
gdb/infrun.c
gdb/infrun.h
gdb/remote.c