Adding base callstack control.

This commit is contained in:
Ben Vanik
2015-08-16 14:28:50 -07:00
parent ae183f918f
commit 2b012f37bf
6 changed files with 272 additions and 34 deletions

View File

@@ -14,6 +14,7 @@
#include <string>
#include "xenia/debug/ui/view.h"
#include "xenia/debug/ui/views/cpu/call_stack_control.h"
namespace xe {
namespace debug {
@@ -35,10 +36,13 @@ class CpuView : public View {
void UpdateModuleList();
void UpdateFunctionList();
void UpdateThreadList();
void UpdateThreadCallStack(model::Thread* thread);
void SwitchCurrentThread(model::Thread* thread);
// TODO(benvanik): better state machine.
model::Thread* current_thread_ = nullptr;
CallStackControl call_stack_control_;
};
} // namespace cpu