diff --git a/lldb/source/Plugins/Process/Utility/RegisterContextDarwin_arm.cpp b/lldb/source/Plugins/Process/Utility/RegisterContextDarwin_arm.cpp --- a/lldb/source/Plugins/Process/Utility/RegisterContextDarwin_arm.cpp +++ b/lldb/source/Plugins/Process/Utility/RegisterContextDarwin_arm.cpp @@ -1491,7 +1491,7 @@ // We have a thumb breakpoint // We have an ARM breakpoint - dbg.bcr[i] = BCR_M_IMVA_MATCH | // Stop on address mismatch + dbg.bcr[i] = BCR_M_IMVA_MATCH | // Stop on address match byte_addr_select | // Set the correct byte address select // so we only trigger on the correct // opcode @@ -1510,7 +1510,7 @@ } else if (size == 4) { // We have an ARM breakpoint dbg.bcr[i] = - BCR_M_IMVA_MATCH | // Stop on address mismatch + BCR_M_IMVA_MATCH | // Stop on address match BAS_IMVA_ALL | // Stop on any of the four bytes following the IMVA S_USER | // Which modes should this breakpoint stop in? BCR_ENABLE; // Enable this hardware breakpoint diff --git a/lldb/tools/debugserver/source/MacOSX/arm/DNBArchImpl.cpp b/lldb/tools/debugserver/source/MacOSX/arm/DNBArchImpl.cpp --- a/lldb/tools/debugserver/source/MacOSX/arm/DNBArchImpl.cpp +++ b/lldb/tools/debugserver/source/MacOSX/arm/DNBArchImpl.cpp @@ -1011,7 +1011,7 @@ // We have a thumb breakpoint // We have an ARM breakpoint m_state.dbg.__bcr[i] = - BCR_M_IMVA_MATCH | // Stop on address mismatch + BCR_M_IMVA_MATCH | // Stop on address match byte_addr_select | // Set the correct byte address select so we only // trigger on the correct opcode S_USER | // Which modes should this breakpoint stop in? @@ -1025,7 +1025,7 @@ } else if (size == 4) { // We have an ARM breakpoint m_state.dbg.__bcr[i] = - BCR_M_IMVA_MATCH | // Stop on address mismatch + BCR_M_IMVA_MATCH | // Stop on address match BAS_IMVA_ALL | // Stop on any of the four bytes following the IMVA S_USER | // Which modes should this breakpoint stop in? BCR_ENABLE; // Enable this hardware breakpoint