diff options
author | Greg Clayton <gclayton@apple.com> | 2011-08-22 02:49:39 +0000 |
---|---|---|
committer | Greg Clayton <gclayton@apple.com> | 2011-08-22 02:49:39 +0000 |
commit | 56d9a1b31b590fb4c3e546800866f4cea2f84559 (patch) | |
tree | 687e8944f13061581b3f23f1505a7e9eec35dded /lldb/source/Plugins/Process/MacOSX-Kernel/ThreadKDP.h | |
parent | aec683afec76274fbee62f90fc36bf791fd63796 (diff) | |
download | bcm5719-llvm-56d9a1b31b590fb4c3e546800866f4cea2f84559.tar.gz bcm5719-llvm-56d9a1b31b590fb4c3e546800866f4cea2f84559.zip |
Added a new plug-in type: lldb_private::OperatingSystem. The operating system
plug-ins are add on plug-ins for the lldb_private::Process class that can add
thread contexts that are read from memory. It is common in kernels to have
a lot of threads that are not currently executing on any cores (JTAG debugging
also follows this sort of thing) and are context switched out whose state is
stored in memory data structures. Clients can now subclass the OperatingSystem
plug-ins and then make sure their Create functions correcltly only enable
themselves when the right binary/target triple are being debugged. The
operating system plug-ins get a chance to attach themselves to processes just
after launching or attaching and are given a lldb_private::Process object
pointer which can be inspected to see if the main executable, target triple,
or any shared libraries match a case where the OS plug-in should be used.
Currently the OS plug-ins can create new threads, define the register contexts
for these threads (which can all be different if desired), and populate and
manage the thread info (stop reason, registers in the register context) as
the debug session goes on.
llvm-svn: 138228
Diffstat (limited to 'lldb/source/Plugins/Process/MacOSX-Kernel/ThreadKDP.h')
-rw-r--r-- | lldb/source/Plugins/Process/MacOSX-Kernel/ThreadKDP.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/lldb/source/Plugins/Process/MacOSX-Kernel/ThreadKDP.h b/lldb/source/Plugins/Process/MacOSX-Kernel/ThreadKDP.h index 95c2f0577e4..a37fa91ee2b 100644 --- a/lldb/source/Plugins/Process/MacOSX-Kernel/ThreadKDP.h +++ b/lldb/source/Plugins/Process/MacOSX-Kernel/ThreadKDP.h @@ -33,9 +33,6 @@ public: RefreshStateAfterStop(); virtual const char * - GetInfo (); - - virtual const char * GetName (); virtual const char * @@ -103,9 +100,6 @@ protected: // Member variables. //------------------------------------------------------------------ - virtual lldb_private::Unwind * - GetUnwinder (); - virtual lldb::StopInfoSP GetPrivateStopReason (); |