2012-12-19 09:30:18 +00:00
|
|
|
/****************************************************************************
|
|
|
|
* *
|
2015-11-10 05:21:49 +00:00
|
|
|
* Project64 - A Nintendo 64 emulator. *
|
2012-12-19 09:30:18 +00:00
|
|
|
* 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
|
|
|
|
|
2008-09-18 03:15:49 +00:00
|
|
|
class CDumpMemory;
|
|
|
|
class CDebugMemoryView;
|
|
|
|
class CDebugMemorySearch;
|
2015-11-06 21:22:02 +00:00
|
|
|
class CDebugTlb;
|
2008-09-18 03:15:49 +00:00
|
|
|
|
2015-11-06 21:22:02 +00:00
|
|
|
__interface CDebugger
|
2008-09-18 03:15:49 +00:00
|
|
|
{
|
2015-11-06 21:22:02 +00:00
|
|
|
virtual void TLBChanged ( void ) = 0;
|
|
|
|
};
|
|
|
|
|
|
|
|
class CDebuggerUI :
|
|
|
|
public CDebugger
|
|
|
|
{
|
|
|
|
CDumpMemory * m_MemoryDump;
|
|
|
|
CDebugMemoryView * m_MemoryView;
|
|
|
|
CDebugMemorySearch * m_MemorySearch;
|
|
|
|
CDebugTlb * m_DebugTLB;
|
2008-09-18 03:15:49 +00:00
|
|
|
|
|
|
|
protected:
|
2015-11-06 21:22:02 +00:00
|
|
|
CDebuggerUI();
|
|
|
|
virtual ~CDebuggerUI();
|
|
|
|
|
|
|
|
void TLBChanged ( void );
|
|
|
|
|
|
|
|
public:
|
|
|
|
void Debug_Reset ( void );
|
|
|
|
void Debug_ShowMemoryDump ( void );
|
|
|
|
void Debug_ShowMemoryWindow ( void );
|
|
|
|
void Debug_ShowMemoryLocation ( uint32_t Address, bool VAddr );
|
|
|
|
void Debug_ShowMemorySearch ( void );
|
|
|
|
void Debug_ShowTLBWindow ( void );
|
|
|
|
void Debug_RefreshTLBWindow ( void );
|
|
|
|
|
|
|
|
static void GameReset ( CDebuggerUI * _this );
|
2015-01-31 19:27:27 +00:00
|
|
|
};
|