Remove PC -1 offset from FreeBSD arm64 UpdateAfterBreakpoint

It was a copy-and-paste leftover.

llvm-svn: 256248
This commit is contained in:
Ed Maste 2015-12-22 15:57:21 +00:00
parent b542f9f144
commit 4d156ae0c8
1 changed files with 0 additions and 2 deletions

View File

@ -260,13 +260,11 @@ RegisterContextPOSIXProcessMonitor_arm64::HardwareSingleStep(bool enable)
bool
RegisterContextPOSIXProcessMonitor_arm64::UpdateAfterBreakpoint()
{
// PC points one byte past the int3 responsible for the breakpoint.
lldb::addr_t pc;
if ((pc = GetPC()) == LLDB_INVALID_ADDRESS)
return false;
SetPC(pc - 1);
return true;
}