Changeset View
Changeset View
Standalone View
Standalone View
debuggers/common/registers/registercontroller_x86.h
Show All 30 Lines | |||||
31 | { | 31 | { | ||
32 | public: | 32 | public: | ||
33 | QVector<GroupsName> namesOfRegisterGroups() const override; | 33 | QVector<GroupsName> namesOfRegisterGroups() const override; | ||
34 | 34 | | |||
35 | public slots: | 35 | public slots: | ||
36 | void updateRegisters(const GroupsName& group = GroupsName()) override; | 36 | void updateRegisters(const GroupsName& group = GroupsName()) override; | ||
37 | 37 | | |||
38 | protected: | 38 | protected: | ||
39 | RegisterControllerGeneral_x86(MIDebugSession* debugSession = nullptr, QObject* parent = nullptr); | 39 | explicit RegisterControllerGeneral_x86(MIDebugSession* debugSession = nullptr, QObject* parent = nullptr); | ||
40 | 40 | | |||
41 | RegistersGroup registersFromGroup(const GroupsName& group) const override; | 41 | RegistersGroup registersFromGroup(const GroupsName& group) const override; | ||
42 | 42 | | |||
43 | QStringList registerNamesForGroup(const GroupsName& group) const override; | 43 | QStringList registerNamesForGroup(const GroupsName& group) const override; | ||
44 | 44 | | |||
45 | void updateValuesForRegisters(RegistersGroup* registers) const override; | 45 | void updateValuesForRegisters(RegistersGroup* registers) const override; | ||
46 | 46 | | |||
47 | void setRegisterValueForGroup(const GroupsName& group, const Register& reg) override; | 47 | void setRegisterValueForGroup(const GroupsName& group, const Register& reg) override; | ||
Show All 18 Lines | 61 | protected: | |||
66 | ///Indicates if register names were initialized. | 66 | ///Indicates if register names were initialized. | ||
67 | bool m_registerNamesInitialized; | 67 | bool m_registerNamesInitialized; | ||
68 | }; | 68 | }; | ||
69 | 69 | | |||
70 | class RegisterController_x86 : public RegisterControllerGeneral_x86 | 70 | class RegisterController_x86 : public RegisterControllerGeneral_x86 | ||
71 | { | 71 | { | ||
72 | 72 | | |||
73 | public: | 73 | public: | ||
74 | RegisterController_x86(MIDebugSession* debugSession = nullptr, QObject* parent = nullptr); | 74 | explicit RegisterController_x86(MIDebugSession* debugSession = nullptr, QObject* parent = nullptr); | ||
75 | 75 | | |||
76 | private: | 76 | private: | ||
77 | void initRegisterNames(); | 77 | void initRegisterNames(); | ||
78 | }; | 78 | }; | ||
79 | 79 | | |||
80 | class RegisterController_x86_64 : public RegisterControllerGeneral_x86 | 80 | class RegisterController_x86_64 : public RegisterControllerGeneral_x86 | ||
81 | { | 81 | { | ||
82 | 82 | | |||
83 | public: | 83 | public: | ||
84 | RegisterController_x86_64(MIDebugSession* debugSession = nullptr, QObject* parent = nullptr); | 84 | explicit RegisterController_x86_64(MIDebugSession* debugSession = nullptr, QObject* parent = nullptr); | ||
85 | 85 | | |||
86 | private: | 86 | private: | ||
87 | void initRegisterNames(); | 87 | void initRegisterNames(); | ||
88 | }; | 88 | }; | ||
89 | 89 | | |||
90 | } // end of namespace KDevMI | 90 | } // end of namespace KDevMI | ||
91 | 91 | | |||
92 | #endif // REGISTERCONTROLLER_X86_H | 92 | #endif // REGISTERCONTROLLER_X86_H |