Skip to content

Commit b37e0ed

Browse files
committed
remove includes and consistent log format
1 parent 889e7e6 commit b37e0ed

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

lldb/source/Breakpoint/BreakpointResolver.cpp

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -381,10 +381,9 @@ BreakpointLocationSP BreakpointResolver::AddLocation(Address loc_addr,
381381
const DisassemblerSP instructions = *expected_instructions;
382382
if (!instructions ||
383383
instructions->GetInstructionList().GetSize() != m_offset) {
384-
LLDB_LOGF(GetLog(LLDBLog::Breakpoints),
385-
"error: Unable to read %lu instructions at address 0x%" PRIx64
386-
"\n",
387-
m_offset, loc_addr.GetLoadAddress(&target));
384+
LLDB_LOG(GetLog(LLDBLog::Breakpoints),
385+
"error: Unable to read {0} instructions at address 0x{1:x}",
386+
m_offset, loc_addr.GetLoadAddress(&target));
388387
return BreakpointLocationSP();
389388
}
390389

lldb/tools/lldb-dap/DAP.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@
3131
#include "lldb/API/SBStream.h"
3232
#include "lldb/Utility/IOObject.h"
3333
#include "lldb/Utility/Status.h"
34-
#include "lldb/Utility/TraceIntelPTGDBRemotePackets.h"
3534
#include "lldb/lldb-defines.h"
3635
#include "lldb/lldb-enumerations.h"
3736
#include "lldb/lldb-types.h"

0 commit comments

Comments
 (0)