mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-16 12:58:33 +02:00
New DSP debugger: step one. (not ready yet, but try loading zelda WW and look at the dsp debugger..).
Had to shuffle around quite a lot of code to be able to extract the CodeView into a library nicely so it can be used from both the main dolphin and the LLE plugin... also extracted the symboldb code. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3517 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -21,7 +21,7 @@
|
||||
#include "BreakpointView.h"
|
||||
#include "Debugger/Debugger_BreakPoints.h"
|
||||
#include "Debugger/Debugger_SymbolMap.h"
|
||||
#include "PowerPC/SymbolDB.h"
|
||||
#include "PowerPC/PPCSymbolDB.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 = BreakPoints::GetBreakPoints();
|
||||
const BreakPoints::TBreakPoints& rBreakPoints = g_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 = MemChecks::GetMemChecks();
|
||||
const MemChecks::TMemChecks& rMemChecks = g_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);
|
||||
BreakPoints::DeleteByAddress(Address);
|
||||
MemChecks::DeleteByAddress(Address);
|
||||
g_breakpoints.DeleteByAddress(Address);
|
||||
g_memchecks.DeleteByAddress(Address);
|
||||
Update();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user