]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gdb/infrun.c
gdb: add setter / getter for thread_info resumed state
authorSimon Marchi <simon.marchi@polymtl.ca>
Fri, 28 May 2021 02:24:45 +0000 (22:24 -0400)
committerSimon Marchi <simon.marchi@polymtl.ca>
Tue, 13 Jul 2021 00:46:52 +0000 (20:46 -0400)
commit7846f3aa61ae21fae8c3861917b44388de6b9ede
tree9441331c6b9017afa73850662c6407020cefabe5
parent8b6a69b2f37fd1370aa823320f9dc3fd482e1e78
gdb: add setter / getter for thread_info resumed state

A following patch will want to do things when a thread's resumed state
changes.  Make the `resumed` field private (renamed to `m_resumed`) and
add a getter and a setter for it.  The following patch in question will
therefore be able to add some code to the setter.

Change-Id: I360c48cc55a036503174313261ce4e757d795319
gdb/breakpoint.c
gdb/gdbthread.h
gdb/infrun.c
gdb/remote.c
gdb/thread.c