Changeset View
Changeset View
Standalone View
Standalone View
debuggers/gdb/debuggerplugin.cpp
Show All 18 Lines | |||||
19 | // * You should have received a copy of the GNU General Public | 19 | // * You should have received a copy of the GNU General Public | ||
20 | // * License along with this program; if not, write to the | 20 | // * License along with this program; if not, write to the | ||
21 | // * Free Software Foundation, Inc., | 21 | // * Free Software Foundation, Inc., | ||
22 | // * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | 22 | // * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | ||
23 | // */ | 23 | // */ | ||
24 | 24 | | |||
25 | #include "debuggerplugin.h" | 25 | #include "debuggerplugin.h" | ||
26 | 26 | | |||
27 | #include "config-gdb-plugin.h" | ||||
27 | 28 | | |||
28 | #include "widgets/disassemblewidget.h" | 29 | #include "widgets/disassemblewidget.h" | ||
29 | #include "memviewdlg.h" | 30 | #include "memviewdlg.h" | ||
30 | #include "gdboutputwidget.h" | 31 | #include "gdboutputwidget.h" | ||
31 | 32 | | |||
32 | #include "gdbconfigpage.h" | 33 | #include "gdbconfigpage.h" | ||
33 | #include "debugsession.h" | 34 | #include "debugsession.h" | ||
34 | 35 | | |||
Show All 40 Lines | 69 | { | |||
75 | core()->uiController()->addToolView( | 76 | core()->uiController()->addToolView( | ||
76 | i18n("Disassemble/Registers"), | 77 | i18n("Disassemble/Registers"), | ||
77 | disassemblefactory); | 78 | disassemblefactory); | ||
78 | 79 | | |||
79 | core()->uiController()->addToolView( | 80 | core()->uiController()->addToolView( | ||
80 | i18n("GDB"), | 81 | i18n("GDB"), | ||
81 | gdbfactory); | 82 | gdbfactory); | ||
82 | 83 | | |||
83 | #ifndef WITH_OKTETA | 84 | #ifndef KDEV_WITH_MEMVIEW | ||
84 | memoryviewerfactory = nullptr; | 85 | memoryviewerfactory = nullptr; | ||
85 | #else | 86 | #else | ||
86 | memoryviewerfactory = new DebuggerToolFactory<MemoryViewerWidget, CppDebuggerPlugin>( | 87 | memoryviewerfactory = new DebuggerToolFactory<MemoryViewerWidget, CppDebuggerPlugin>( | ||
87 | this, "org.kdevelop.debugger.MemoryView", Qt::BottomDockWidgetArea); | 88 | this, "org.kdevelop.debugger.MemoryView", Qt::BottomDockWidgetArea); | ||
88 | core()->uiController()->addToolView( | 89 | core()->uiController()->addToolView( | ||
89 | i18n("Memory"), | 90 | i18n("Memory"), | ||
90 | memoryviewerfactory); | 91 | memoryviewerfactory); | ||
91 | #endif | 92 | #endif | ||
Show All 34 Lines |