summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.h
diff options
context:
space:
mode:
authorPeter Collingbourne <peter@pcc.me.uk>2011-06-18 23:52:14 +0000
committerPeter Collingbourne <peter@pcc.me.uk>2011-06-18 23:52:14 +0000
commitba23ca085f56006a82b84ce76beaa6edc7496d48 (patch)
tree60b8a92c329736c02db30022ac8a261d08112091 /lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.h
parent07037364cd0aa8c43b9069e3c9f8b16389ce5300 (diff)
downloadbcm5719-llvm-ba23ca085f56006a82b84ce76beaa6edc7496d48.tar.gz
bcm5719-llvm-ba23ca085f56006a82b84ce76beaa6edc7496d48.zip
Switch from USEC_PER_SEC/NSEC_PER_SEC/NSEC_PER_USEC to TimeValue constants
Fixes the Linux build. llvm-svn: 133370
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.h')
-rw-r--r--lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.h b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.h
index addec5bd069..c50e52ab9e8 100644
--- a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.h
+++ b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.h
@@ -22,6 +22,7 @@
#include "lldb/Core/Listener.h"
#include "lldb/Host/Mutex.h"
#include "lldb/Host/Predicate.h"
+#include "lldb/Host/TimeValue.h"
#include "Utility/StringExtractorGDBRemote.h"
@@ -116,7 +117,7 @@ public:
uint32_t
GetPacketTimeoutInMicroSeconds () const
{
- return m_packet_timeout * USEC_PER_SEC;
+ return m_packet_timeout * lldb_private::TimeValue::MicroSecPerSec;
}
//------------------------------------------------------------------
// Start a debugserver instance on the current host using the
OpenPOWER on IntegriCloud