added an AX disasm with (few) comments. Moved some code around to prepare to share some breakpoint code between the ppc and dsp

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3566 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
hrydgard
2009-06-28 11:47:39 +00:00
parent f49e479d09
commit 7c92dada85
23 changed files with 2625 additions and 56 deletions

View File

@ -19,9 +19,9 @@
#include "Common.h"
#include "BreakpointView.h"
#include "Debugger/Debugger_BreakPoints.h"
#include "Debugger/Debugger_SymbolMap.h"
#include "PowerPC/PPCSymbolDB.h"
#include "PowerPC/PowerPC.h"
BEGIN_EVENT_TABLE(CBreakPointView, wxListCtrl)
@ -47,7 +47,7 @@ void CBreakPointView::Update()
InsertColumn(4, wxT("Flags"), wxLIST_FORMAT_CENTER, 100);
char szBuffer[64];
const BreakPoints::TBreakPoints& rBreakPoints = g_breakpoints.GetBreakPoints();
const BreakPoints::TBreakPoints& rBreakPoints = PowerPC::breakpoints.GetBreakPoints();
for (size_t i = 0; i < rBreakPoints.size(); i++)
{
const TBreakPoint& rBP = rBreakPoints[i];
@ -74,7 +74,7 @@ void CBreakPointView::Update()
}
}
const MemChecks::TMemChecks& rMemChecks = g_memchecks.GetMemChecks();
const MemChecks::TMemChecks& rMemChecks = PowerPC::memchecks.GetMemChecks();
for (size_t i = 0; i < rMemChecks.size(); i++)
{
const TMemCheck& rMemCheck = rMemChecks[i];
@ -115,8 +115,8 @@ void CBreakPointView::DeleteCurrentSelection()
if (Item >= 0)
{
u32 Address = (u32)GetItemData(Item);
g_breakpoints.DeleteByAddress(Address);
g_memchecks.DeleteByAddress(Address);
PowerPC::breakpoints.DeleteByAddress(Address);
PowerPC::memchecks.DeleteByAddress(Address);
Update();
}
}