From 31dee93e849d79a91f280faf16941806e3cb3c6b Mon Sep 17 00:00:00 2001
From: polaris- <nagatospam@gmail.com>
Date: Wed, 2 Sep 2015 08:56:38 -0400
Subject: Implement gdbstub

---
 src/core/system.cpp | 6 ++++++
 1 file changed, 6 insertions(+)

(limited to 'src/core/system.cpp')

diff --git a/src/core/system.cpp b/src/core/system.cpp
index 3cd84bf5e0..421fc48a78 100644
--- a/src/core/system.cpp
+++ b/src/core/system.cpp
@@ -12,6 +12,8 @@
 
 #include "video_core/video_core.h"
 
+#include "core/gdbstub/gdbstub.h"
+
 namespace System {
 
 void Init(EmuWindow* emu_window) {
@@ -22,9 +24,13 @@ void Init(EmuWindow* emu_window) {
     Kernel::Init();
     HLE::Init();
     VideoCore::Init(emu_window);
+
+    GDBStub::Init();
 }
 
 void Shutdown() {
+    GDBStub::Deinit();
+
     VideoCore::Shutdown();
     HLE::Shutdown();
     Kernel::Shutdown();
-- 
cgit v1.2.3-70-g09d2