2015-11-14 20:59:12 +00:00
|
|
|
/****************************************************************************
|
|
|
|
* *
|
|
|
|
* Project 64 - A Nintendo 64 emulator. *
|
|
|
|
* http://www.pj64-emu.com/ *
|
|
|
|
* Copyright (C) 2012 Project64. All rights reserved. *
|
|
|
|
* *
|
|
|
|
* License: *
|
|
|
|
* GNU/GPLv2 http://www.gnu.org/licenses/gpl-2.0.html *
|
|
|
|
* *
|
|
|
|
****************************************************************************/
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
__interface CDebugger
|
|
|
|
{
|
2018-01-10 07:05:57 +00:00
|
|
|
virtual void OpenCommandWindow(void) = 0;
|
|
|
|
virtual void OpenMemoryWindow(void) = 0;
|
|
|
|
virtual void OpenMemoryDump(void) = 0;
|
|
|
|
virtual void OpenMemorySearch(void) = 0;
|
|
|
|
virtual void OpenTLBWindow(void) = 0;
|
|
|
|
virtual void OpenScriptsWindow(void) = 0;
|
|
|
|
virtual void OpenSymbolsWindow(void) = 0;
|
|
|
|
virtual void OpenDMALogWindow(void) = 0;
|
2019-01-14 09:18:43 +00:00
|
|
|
virtual void OpenCPULogWindow(void) = 0;
|
2018-01-10 07:05:57 +00:00
|
|
|
virtual void OpenStackTraceWindow(void) = 0;
|
|
|
|
virtual void OpenStackViewWindow(void) = 0;
|
|
|
|
virtual void TLBChanged(void) = 0;
|
2019-01-14 09:18:43 +00:00
|
|
|
virtual void FrameDrawn(void) = 0;
|
2018-01-16 21:26:54 +00:00
|
|
|
virtual void WaitForStep(void) = 0;
|
|
|
|
virtual bool ExecutionBP(uint32_t address) = 0;
|
2018-02-05 20:25:53 +00:00
|
|
|
virtual bool ReadBP8(uint32_t address) = 0;
|
|
|
|
virtual bool ReadBP16(uint32_t address) = 0;
|
|
|
|
virtual bool ReadBP32(uint32_t address) = 0;
|
|
|
|
virtual bool ReadBP64(uint32_t address) = 0;
|
2018-02-01 17:28:08 +00:00
|
|
|
virtual bool WriteBP8(uint32_t address) = 0;
|
|
|
|
virtual bool WriteBP16(uint32_t address) = 0;
|
|
|
|
virtual bool WriteBP32(uint32_t address) = 0;
|
|
|
|
virtual bool WriteBP64(uint32_t address) = 0;
|
2018-01-16 21:26:54 +00:00
|
|
|
|
2018-01-17 11:36:28 +00:00
|
|
|
virtual void CPUStepStarted(void) = 0;
|
2018-01-10 07:05:57 +00:00
|
|
|
virtual void CPUStep(void) = 0;
|
2015-11-14 20:59:12 +00:00
|
|
|
};
|