summaryrefslogtreecommitdiffstats
path: root/lldb/source/Breakpoint
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/Breakpoint')
-rw-r--r--lldb/source/Breakpoint/StoppointLocation.cpp4
-rw-r--r--lldb/source/Breakpoint/Watchpoint.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/lldb/source/Breakpoint/StoppointLocation.cpp b/lldb/source/Breakpoint/StoppointLocation.cpp
index 5613f90619c..092caa5a932 100644
--- a/lldb/source/Breakpoint/StoppointLocation.cpp
+++ b/lldb/source/Breakpoint/StoppointLocation.cpp
@@ -30,12 +30,12 @@ StoppointLocation::StoppointLocation (break_id_t bid, addr_t addr, bool hardware
{
}
-StoppointLocation::StoppointLocation (break_id_t bid, addr_t addr, size_t size, bool hardware) :
+StoppointLocation::StoppointLocation (break_id_t bid, addr_t addr, uint32_t byte_size, bool hardware) :
m_loc_id(bid),
m_addr(addr),
m_hw_preferred(hardware),
m_hw_index(LLDB_INVALID_INDEX32),
- m_byte_size(size),
+ m_byte_size(byte_size),
m_hit_count(0)
{
}
diff --git a/lldb/source/Breakpoint/Watchpoint.cpp b/lldb/source/Breakpoint/Watchpoint.cpp
index f7a8d651ec5..4645b6072e0 100644
--- a/lldb/source/Breakpoint/Watchpoint.cpp
+++ b/lldb/source/Breakpoint/Watchpoint.cpp
@@ -112,7 +112,7 @@ Watchpoint::DumpWithLevel(Stream *s, lldb::DescriptionLevel description_level) c
assert(description_level >= lldb::eDescriptionLevelBrief &&
description_level <= lldb::eDescriptionLevelVerbose);
- s->Printf("Watchpoint %u: addr = 0x%8.8llx size = %zu state = %s type = %s%s",
+ s->Printf("Watchpoint %u: addr = 0x%8.8llx size = %u state = %s type = %s%s",
GetID(),
(uint64_t)m_addr,
m_byte_size,
OpenPOWER on IntegriCloud