[Debugger] Fix a few breakpoint issues

This commit is contained in:
zilmar 2018-02-05 18:11:39 +11:00
parent 622d5d5d3f
commit 94c7a51b48
1 changed files with 5 additions and 5 deletions

View File

@ -171,7 +171,7 @@ CBreakpoints::BPSTATE CBreakpoints::ReadBPExists8(uint32_t address)
CBreakpoints::BPSTATE CBreakpoints::ReadBPExists16(uint32_t address)
{
breakpoints_t::const_iterator itr = m_ReadMem16.find(address);
if (itr != m_ReadMem.end())
if (itr != m_ReadMem16.end())
{
return BP_SET;
}
@ -181,7 +181,7 @@ CBreakpoints::BPSTATE CBreakpoints::ReadBPExists16(uint32_t address)
CBreakpoints::BPSTATE CBreakpoints::ReadBPExists32(uint32_t address)
{
breakpoints_t::const_iterator itr = m_ReadMem32.find(address);
if (itr != m_ReadMem.end())
if (itr != m_ReadMem32.end())
{
return BP_SET;
}
@ -191,7 +191,7 @@ CBreakpoints::BPSTATE CBreakpoints::ReadBPExists32(uint32_t address)
CBreakpoints::BPSTATE CBreakpoints::ReadBPExists64(uint32_t address)
{
breakpoints_t::const_iterator itr = m_ReadMem64.find(address);
if (itr != m_ReadMem.end())
if (itr != m_ReadMem64.end())
{
return BP_SET;
}
@ -221,7 +221,7 @@ CBreakpoints::BPSTATE CBreakpoints::WriteBPExists16(uint32_t address)
CBreakpoints::BPSTATE CBreakpoints::WriteBPExists32(uint32_t address)
{
breakpoints_t::const_iterator itr = m_WriteMem16.find(address);
if (itr != m_WriteMem16.end())
if (itr != m_WriteMem32.end())
{
return BP_SET;
}
@ -231,7 +231,7 @@ CBreakpoints::BPSTATE CBreakpoints::WriteBPExists32(uint32_t address)
CBreakpoints::BPSTATE CBreakpoints::WriteBPExists64(uint32_t address)
{
breakpoints_t::const_iterator itr = m_WriteMem16.find(address);
if (itr != m_WriteMem16.end())
if (itr != m_WriteMem64.end())
{
return BP_SET;
}