aboutsummaryrefslogtreecommitdiff
path: root/gdb/fbsd-nat.h
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2022-03-22 12:05:43 -0700
committerJohn Baldwin <jhb@FreeBSD.org>2022-03-22 12:05:43 -0700
commita3627b54280ba306766f2689fb35442f24c4c313 (patch)
tree4ebe6fd819b4159eab08b222f42a2cc6f5ee3bef /gdb/fbsd-nat.h
parent983b1119bc315c9182e3aba898ca8099e54da49e (diff)
downloadgdb-a3627b54280ba306766f2689fb35442f24c4c313.zip
gdb-a3627b54280ba306766f2689fb35442f24c4c313.tar.gz
gdb-a3627b54280ba306766f2689fb35442f24c4c313.tar.bz2
fbsd-nat: Add a low_prepare_to_resume virtual method.
This method can be overridden by architecture-specific targets to perform additional work before a thread is resumed.
Diffstat (limited to 'gdb/fbsd-nat.h')
-rw-r--r--gdb/fbsd-nat.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/fbsd-nat.h b/gdb/fbsd-nat.h
index 6028aeb..82f7ee4 100644
--- a/gdb/fbsd-nat.h
+++ b/gdb/fbsd-nat.h
@@ -119,6 +119,10 @@ public:
virtual void low_delete_thread (thread_info *)
{}
+ /* Hook to call prior to resuming a thread. */
+ virtual void low_prepare_to_resume (thread_info *)
+ {}
+
protected:
void post_startup_inferior (ptid_t) override;