From 56d9a1b31b590fb4c3e546800866f4cea2f84559 Mon Sep 17 00:00:00 2001 From: Greg Clayton Date: Mon, 22 Aug 2011 02:49:39 +0000 Subject: 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 --- lldb/source/Plugins/Process/gdb-remote/ThreadGDBRemote.h | 6 ------ 1 file changed, 6 deletions(-) (limited to 'lldb/source/Plugins/Process/gdb-remote/ThreadGDBRemote.h') diff --git a/lldb/source/Plugins/Process/gdb-remote/ThreadGDBRemote.h b/lldb/source/Plugins/Process/gdb-remote/ThreadGDBRemote.h index 2fdb4d7cb10..09f86845263 100644 --- a/lldb/source/Plugins/Process/gdb-remote/ThreadGDBRemote.h +++ b/lldb/source/Plugins/Process/gdb-remote/ThreadGDBRemote.h @@ -32,9 +32,6 @@ public: virtual void RefreshStateAfterStop(); - virtual const char * - GetInfo (); - virtual const char * GetName (); @@ -113,9 +110,6 @@ protected: // Member variables. //------------------------------------------------------------------ - virtual lldb_private::Unwind * - GetUnwinder (); - void SetStopInfoFromPacket (StringExtractor &stop_packet, uint32_t stop_id); -- cgit v1.2.3