Skip to content

Commit

Permalink
Fix lldbadapter after LLDB patch Vector35/llvm-build@c7c3b76
Browse files Browse the repository at this point in the history
  • Loading branch information
xusheng6 authored and CouleeApps committed Apr 6, 2023
1 parent 3584504 commit 3785496
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions core/adapters/lldbadapter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -593,8 +593,7 @@ DebugBreakpoint LldbAdapter::AddBreakpoint(const ModuleNameAndOffset& address, u
}
else
{
uint64_t addr = address.offset + m_start;
std::string entryBreakpointCommand = fmt::format("b -s \"{}\" -a 0x{:x}", address.module, addr);
std::string entryBreakpointCommand = fmt::format("b -s \"{}\" -a 0x{:x}", address.module, address.offset);
auto ret = InvokeBackendCommand(entryBreakpointCommand);
DebuggerEvent evt;
evt.type = BackendMessageEventType;
Expand Down

0 comments on commit 3785496

Please sign in to comment.