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
This commit is contained in:
Johnny Chen 2011-09-06 02:52:28 +00:00
parent b1438c763a
commit 8ed0ef9bae
2 changed files with 3 additions and 3 deletions

View File

@ -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 ();

View File

@ -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),