diff options
author | John Baldwin <jhb@FreeBSD.org> | 2022-03-22 12:05:43 -0700 |
---|---|---|
committer | John Baldwin <jhb@FreeBSD.org> | 2022-03-22 12:05:43 -0700 |
commit | 983b1119bc315c9182e3aba898ca8099e54da49e (patch) | |
tree | e3193e091ee802a5622709841a061b75e5f79c6e /gdb/fbsd-nat.h | |
parent | 6719bc690e2829c50d3d3bb22ede1324e5baa12a (diff) | |
download | gdb-983b1119bc315c9182e3aba898ca8099e54da49e.zip gdb-983b1119bc315c9182e3aba898ca8099e54da49e.tar.gz gdb-983b1119bc315c9182e3aba898ca8099e54da49e.tar.bz2 |
fbsd-nat: Add a low_delete_thread virtual method.
This method can be overridden by architecture-specific targets to
perform additional work when a thread is deleted.
Note that this method is only invoked on systems supporting LWP
events, but the pending use case (aarch64 debug registers) is not
supported on older kernels that do not support LWP events.
Diffstat (limited to 'gdb/fbsd-nat.h')
-rw-r--r-- | gdb/fbsd-nat.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/fbsd-nat.h b/gdb/fbsd-nat.h index d7c8eb8..6028aeb 100644 --- a/gdb/fbsd-nat.h +++ b/gdb/fbsd-nat.h @@ -115,6 +115,10 @@ public: virtual void low_new_fork (ptid_t parent, pid_t child) {} + /* The method to call, if any, when a thread is destroyed. */ + virtual void low_delete_thread (thread_info *) + {} + protected: void post_startup_inferior (ptid_t) override; |