summaryrefslogtreecommitdiffstats
path: root/lldb/source/Host/common/SoftwareBreakpoint.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/Host/common/SoftwareBreakpoint.cpp')
-rw-r--r--lldb/source/Host/common/SoftwareBreakpoint.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/Host/common/SoftwareBreakpoint.cpp b/lldb/source/Host/common/SoftwareBreakpoint.cpp
index 6cb8126fb14..3d57b7dd6b8 100644
--- a/lldb/source/Host/common/SoftwareBreakpoint.cpp
+++ b/lldb/source/Host/common/SoftwareBreakpoint.cpp
@@ -103,7 +103,7 @@ Error SoftwareBreakpoint::CreateSoftwareBreakpoint(
// breakpoint.
breakpoint_sp.reset(new SoftwareBreakpoint(process, addr, saved_opcode_bytes,
bp_opcode_bytes, bp_opcode_size));
- return Error::success();
+ return Error();
}
Error SoftwareBreakpoint::EnableSoftwareBreakpoint(
@@ -219,7 +219,7 @@ Error SoftwareBreakpoint::EnableSoftwareBreakpoint(
log->Printf("SoftwareBreakpoint::%s addr = 0x%" PRIx64 " -- SUCCESS",
__FUNCTION__, addr);
- return Error::success();
+ return Error();
}
// -------------------------------------------------------------------
OpenPOWER on IntegriCloud