diff options
Diffstat (limited to 'tools/lldb-mi/MICmnLLDBDebugger.h')
-rw-r--r-- | tools/lldb-mi/MICmnLLDBDebugger.h | 36 |
1 files changed, 17 insertions, 19 deletions
diff --git a/tools/lldb-mi/MICmnLLDBDebugger.h b/tools/lldb-mi/MICmnLLDBDebugger.h index de7611221522..83bc3c06bf69 100644 --- a/tools/lldb-mi/MICmnLLDBDebugger.h +++ b/tools/lldb-mi/MICmnLLDBDebugger.h @@ -32,9 +32,6 @@ class CMICmnLLDBDebuggerHandleEvents; // to facilitate their work effort. The instance runs in its own worker // thread. // A singleton class. -// Gotchas: None. -// Authors: Illya Rudkin 26/02/2014. -// Changes: None. //-- class CMICmnLLDBDebugger : public CMICmnBase, public CMIUtilThreadActiveObjBase, public MI::ISingleton<CMICmnLLDBDebugger> { @@ -42,16 +39,16 @@ class CMICmnLLDBDebugger : public CMICmnBase, public CMIUtilThreadActiveObjBase, // Methods: public: - bool Initialize(void) override; - bool Shutdown(void) override; + bool Initialize() override; + bool Shutdown() override; bool SetDriver(const CMIDriverBase &vClientDriver); - CMIDriverBase &GetDriver(void) const; - lldb::SBDebugger &GetTheDebugger(void); - lldb::SBListener &GetTheListener(void); - void WaitForHandleEvent(void); - bool CheckIfNeedToRebroadcastStopEvent(void); - void RebroadcastStopEvent(void); + CMIDriverBase &GetDriver() const; + lldb::SBDebugger &GetTheDebugger(); + lldb::SBListener &GetTheListener(); + void WaitForHandleEvent(); + bool CheckIfNeedToRebroadcastStopEvent(); + void RebroadcastStopEvent(); // MI Commands can use these functions to listen for events they require bool RegisterForEvent(const CMIUtilString &vClientName, const CMIUtilString &vBroadcasterClass, const MIuint vEventMask); @@ -62,13 +59,13 @@ class CMICmnLLDBDebugger : public CMICmnBase, public CMIUtilThreadActiveObjBase, // Overridden: public: // From CMIUtilThreadActiveObjBase - const CMIUtilString &ThreadGetName(void) const override; + const CMIUtilString &ThreadGetName() const override; // Overridden: protected: // From CMIUtilThreadActiveObjBase bool ThreadRun(bool &vrIsAlive) override; - bool ThreadFinish(void) override; + bool ThreadFinish() override; // Typedefs: private: @@ -79,13 +76,13 @@ class CMICmnLLDBDebugger : public CMICmnBase, public CMIUtilThreadActiveObjBase, // Methods: private: - /* ctor */ CMICmnLLDBDebugger(void); + /* ctor */ CMICmnLLDBDebugger(); /* ctor */ CMICmnLLDBDebugger(const CMICmnLLDBDebugger &); void operator=(const CMICmnLLDBDebugger &); - bool InitSBDebugger(void); - bool InitSBListener(void); - bool InitStdStreams(void); + bool InitSBDebugger(); + bool InitSBListener(); + bool InitStdStreams(); bool MonitorSBListenerEvents(bool &vrbYesExit); bool BroadcasterGetMask(const CMIUtilString &vBroadcasterClass, MIuint &vEventMask) const; @@ -96,11 +93,12 @@ class CMICmnLLDBDebugger : public CMICmnBase, public CMIUtilThreadActiveObjBase, bool ClientSaveMask(const CMIUtilString &vClientName, const CMIUtilString &vBroadcasterClass, const MIuint vEventMask); bool ClientRemoveTheirMask(const CMIUtilString &vClientName, const CMIUtilString &vBroadcasterClass); bool ClientGetTheirMask(const CMIUtilString &vClientName, const CMIUtilString &vBroadcasterClass, MIuint &vwEventMask); - + bool LoadMIFormatters(lldb::SBTypeCategory miCategory); + bool RegisterMISummaryProviders(); // Overridden: private: // From CMICmnBase - /* dtor */ ~CMICmnLLDBDebugger(void) override; + /* dtor */ ~CMICmnLLDBDebugger() override; // Attributes: private: |