Rework the core of drkonqi.
author George Kiagiadakis
()
committer George Kiagiadakis
()
commit fd87f56e02460e354bcf0791daf2ff0ed3a8cdd4
tree 4059f7301061fa56732a8862239e3e9bfb3e22d9
parent 595e4cd1d67922ec53722104a13802a732445de8
Rework the core of drkonqi.
* Simplify the DrKonqi singleton, so that it is only a class to access global objects.
* Introduce the concept of backends. This will allow in the future to add a backend
that will allow drkonqi to work with core files directly.
* Introduce a DebuggerManager class, a class to handle the various debuggers.
* Introduce the various debugger launcher classes, which will handle the external debuggers.
This is useful to have different handling for ex. a terminal-based debugger and a gui-based one
and also to handle the dbus based kdevelop integration in a unified way with the other debuggers.
- Note: the debugger launchers still need work. They don't work atm.
* Split gdbrc into two files (one that specifies the commands for launching gdb internally in
BacktraceGenerator and one for launching gdb externally in konsole) and introduce a new format for it.
* Other minor fixes related to the above.

svn path=/trunk/KDE/kdebase/runtime/; revision=1027341
27 files changed:
drkonqi/CMakeLists.txt
drkonqi/backtracegenerator.cpp
drkonqi/backtracegenerator.h
drkonqi/backtracewidget.cpp
drkonqi/crashedapplication.cpp
drkonqi/crashedapplication.h
drkonqi/debugger.cpp [ new file with mode 0644 ]
drkonqi/debugger.h [ moved from drkonqi/debuggerconfig.h with 57%% similarity ]
drkonqi/debuggerconfig.cpp [ deleted file ]
drkonqi/debuggerlaunchers.cpp [ new file with mode 0644 ]
drkonqi/debuggerlaunchers.h [ new file with mode 0644 ]
drkonqi/debuggermanager.cpp [ new file with mode 0644 ]
drkonqi/debuggermanager.h [ new file with mode 0644 ]
drkonqi/debuggers/CMakeLists.txt [ deleted file ]
drkonqi/debuggers/external/gdbrc [ new file with mode 0644 ]
drkonqi/debuggers/gdbrc [ deleted file ]
drkonqi/debuggers/internal/gdbrc [ new file with mode 0644 ]
drkonqi/drkonqi.cpp
drkonqi/drkonqi.h
drkonqi/drkonqibackends.cpp [ new file with mode 0644 ]
drkonqi/drkonqibackends.h [ new file with mode 0644 ]
drkonqi/drkonqidialog.cpp
drkonqi/drkonqidialog.h
drkonqi/main.cpp
drkonqi/reportassistantpages_base.cpp
drkonqi/reportassistantpages_bugzilla.cpp
drkonqi/reportinterface.cpp