From 8ed0ef9bae4d53df19890a514ee649fcabe814b6 Mon Sep 17 00:00:00 2001 From: Johnny Chen Date: Tue, 6 Sep 2011 02:52:28 +0000 Subject: [PATCH] Change the signature of WatchpointLocation ctor so that the second param becomes 'size_t size', instead of 'lldb::tid_t tid'. Pass size to the StoppointLocation ctor as well. llvm-svn: 139131 --- lldb/include/lldb/Breakpoint/WatchpointLocation.h | 2 +- lldb/source/Breakpoint/WatchpointLocation.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lldb/include/lldb/Breakpoint/WatchpointLocation.h b/lldb/include/lldb/Breakpoint/WatchpointLocation.h index d85a578be8d7..12dbb4573b2b 100644 --- a/lldb/include/lldb/Breakpoint/WatchpointLocation.h +++ b/lldb/include/lldb/Breakpoint/WatchpointLocation.h @@ -29,7 +29,7 @@ class WatchpointLocation : { public: - WatchpointLocation (lldb::addr_t m_addr, lldb::tid_t tid, bool hardware); + WatchpointLocation (lldb::addr_t m_addr, size_t size, bool hardware); ~WatchpointLocation (); diff --git a/lldb/source/Breakpoint/WatchpointLocation.cpp b/lldb/source/Breakpoint/WatchpointLocation.cpp index c4bd975cdde6..1b72d758c146 100644 --- a/lldb/source/Breakpoint/WatchpointLocation.cpp +++ b/lldb/source/Breakpoint/WatchpointLocation.cpp @@ -18,8 +18,8 @@ using namespace lldb; using namespace lldb_private; -WatchpointLocation::WatchpointLocation (lldb::addr_t addr, lldb::tid_t tid, bool hardware) : - StoppointLocation (GetNextID(), addr, tid, hardware), +WatchpointLocation::WatchpointLocation (lldb::addr_t addr, size_t size, bool hardware) : + StoppointLocation (GetNextID(), addr, size, hardware), m_enabled(0), m_watch_read(0), m_watch_write(0),