Changeset View
Changeset View
Standalone View
Standalone View
debuggers/gdb/gdbframestackmodel.cpp
Show All 15 Lines | |||||
16 | * GNU General Public License for more details. | 16 | * GNU General Public License for more details. | ||
17 | * | 17 | * | ||
18 | * You should have received a copy of the GNU General Public License | 18 | * You should have received a copy of the GNU General Public License | ||
19 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | 19 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
20 | * | 20 | * | ||
21 | */ | 21 | */ | ||
22 | 22 | | |||
23 | #include "gdbframestackmodel.h" | 23 | #include "gdbframestackmodel.h" | ||
24 | #include <algorithm> | | |||
25 | | ||||
26 | 24 | | |||
27 | #include "debugsession.h" | 25 | #include "debugsession.h" | ||
28 | 26 | | |||
29 | using namespace KDevMI::GDB; | 27 | using namespace KDevMI::GDB; | ||
30 | 28 | | |||
31 | GdbFrameStackModel::GdbFrameStackModel(DebugSession *session) | 29 | GdbFrameStackModel::GdbFrameStackModel(DebugSession *session) | ||
32 | : MIFrameStackModel(session) | 30 | : MIFrameStackModel(session) | ||
33 | { | 31 | { | ||
34 | } | 32 | } | ||
35 | 33 | | |||
36 | DebugSession* GdbFrameStackModel::session() | 34 | DebugSession* GdbFrameStackModel::session() | ||
37 | { | 35 | { | ||
38 | return static_cast<DebugSession *>(FrameStackModel::session()); | 36 | return static_cast<DebugSession *>(FrameStackModel::session()); | ||
39 | } | 37 | } |