Changeset View
Changeset View
Standalone View
Standalone View
debuggers/gdb/debugsession.h
Show First 20 Lines • Show All 66 Lines • ▼ Show 20 Line(s) | |||||
67 | public: | 67 | public: | ||
68 | DebugSession(); | 68 | DebugSession(); | ||
69 | ~DebugSession() override; | 69 | ~DebugSession() override; | ||
70 | 70 | | |||
71 | BreakpointController * breakpointController() const override; | 71 | BreakpointController * breakpointController() const override; | ||
72 | VariableController * variableController() const override; | 72 | VariableController * variableController() const override; | ||
73 | GdbFrameStackModel * frameStackModel() const override; | 73 | GdbFrameStackModel * frameStackModel() const override; | ||
74 | 74 | | |||
75 | // FIXME: only used in unit test currently, | ||||
76 | // potentially could be made a user configurable option | ||||
77 | // Whether turn off auto-disable ASLR when starting inferiors | ||||
78 | void setAutoDisableASLR(bool enable); | ||||
kfunk: `//` -> `///` to make it proper doxygen-style comments
Would just remove the first two lines... | |||||
79 | | ||||
75 | protected: | 80 | protected: | ||
76 | GdbDebugger *createDebugger() const override; | 81 | GdbDebugger *createDebugger() const override; | ||
77 | void initializeDebugger() override; | 82 | void initializeDebugger() override; | ||
78 | bool execInferior(KDevelop::ILaunchConfiguration *cfg, const QString &executable) override; | 83 | bool execInferior(KDevelop::ILaunchConfiguration *cfg, const QString &executable) override; | ||
79 | 84 | | |||
80 | void configure(KDevelop::ILaunchConfiguration *cfg); | 85 | void configure(KDevelop::ILaunchConfiguration *cfg); | ||
81 | 86 | | |||
82 | private Q_SLOTS: | 87 | private Q_SLOTS: | ||
83 | void handleVersion(const QStringList& s); | 88 | void handleVersion(const QStringList& s); | ||
84 | void handleFileExecAndSymbols(const MI::ResultRecord& r); | 89 | void handleFileExecAndSymbols(const MI::ResultRecord& r); | ||
85 | 90 | | |||
86 | private: | 91 | private: | ||
87 | friend class GdbTest; | 92 | friend class GdbTest; | ||
88 | 93 | | |||
89 | BreakpointController *m_breakpointController; | 94 | BreakpointController *m_breakpointController; | ||
90 | VariableController *m_variableController; | 95 | VariableController *m_variableController; | ||
91 | GdbFrameStackModel *m_frameStackModel; | 96 | GdbFrameStackModel *m_frameStackModel; | ||
97 | | ||||
98 | bool m_autoDisableASLR; | ||||
kfunk: Could initialize with `= false` directly | |||||
92 | }; | 99 | }; | ||
93 | 100 | | |||
94 | } // end of namespace GDB | 101 | } // end of namespace GDB | ||
95 | } // end of namespace KDevMI | 102 | } // end of namespace KDevMI | ||
96 | 103 | | |||
97 | #endif | 104 | #endif |
// -> /// to make it proper doxygen-style comments
Would just remove the first two lines...