diff options
| author | Ed Maste <emaste@freebsd.org> | 2013-12-09 15:51:17 +0000 |
|---|---|---|
| committer | Ed Maste <emaste@freebsd.org> | 2013-12-09 15:51:17 +0000 |
| commit | 7fd845cc9daef37d0409bd8aa22fa4ae5850b52e (patch) | |
| tree | f7137a37e819615f244451cb9fdfc9e2319ad5b9 /lldb/source/Plugins/Process/FreeBSD/FreeBSDThread.h | |
| parent | f369dba051641cd3bb422c95618c8b561f992184 (diff) | |
| download | bcm5719-llvm-7fd845cc9daef37d0409bd8aa22fa4ae5850b52e.tar.gz bcm5719-llvm-7fd845cc9daef37d0409bd8aa22fa4ae5850b52e.zip | |
Threaded inferior support for FreeBSD
Modelled in part on GDBRemoteCommunicationClient.
Review: http://llvm-reviews.chandlerc.com/D2267
llvm-svn: 196787
Diffstat (limited to 'lldb/source/Plugins/Process/FreeBSD/FreeBSDThread.h')
| -rw-r--r-- | lldb/source/Plugins/Process/FreeBSD/FreeBSDThread.h | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/lldb/source/Plugins/Process/FreeBSD/FreeBSDThread.h b/lldb/source/Plugins/Process/FreeBSD/FreeBSDThread.h new file mode 100644 index 00000000000..8741075cb60 --- /dev/null +++ b/lldb/source/Plugins/Process/FreeBSD/FreeBSDThread.h @@ -0,0 +1,39 @@ +//===-- FreeBSDThread.h -----------------------------------------*- C++ -*-===// +// +// The LLVM Compiler Infrastructure +// +// This file is distributed under the University of Illinois Open Source +// License. See LICENSE.TXT for details. +// +//===----------------------------------------------------------------------===// + +#ifndef liblldb_FreeBSDThread_H_ +#define liblldb_FreeBSDThread_H_ + +// Other libraries and framework includes +#include "POSIXThread.h" + +//------------------------------------------------------------------------------ +// @class FreeBSDThread +// @brief Abstraction of a FreeBSD thread. +class FreeBSDThread + : public POSIXThread +{ +public: + + //------------------------------------------------------------------ + // Constructors and destructors + //------------------------------------------------------------------ + FreeBSDThread(lldb_private::Process &process, lldb::tid_t tid); + + virtual ~FreeBSDThread(); + + //-------------------------------------------------------------------------- + // FreeBSDThread internal API. + + // POSIXThread override + virtual void + WillResume(lldb::StateType resume_state); +}; + +#endif // #ifndef liblldb_FreeBSDThread_H_ |

