From 897f50c5ba6469ee4941987ad704376b66be41ca Mon Sep 17 00:00:00 2001 From: Andy Gibbs Date: Wed, 19 Jun 2013 20:04:56 +0000 Subject: [PATCH] Use LLDB_INVALID_REGNUM at Mike Sartain's suggestion llvm-svn: 184342 --- lldb/source/Plugins/Process/POSIX/POSIXThread.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lldb/source/Plugins/Process/POSIX/POSIXThread.cpp b/lldb/source/Plugins/Process/POSIX/POSIXThread.cpp index dc024f8db0ba..09f0525c63a3 100644 --- a/lldb/source/Plugins/Process/POSIX/POSIXThread.cpp +++ b/lldb/source/Plugins/Process/POSIX/POSIXThread.cpp @@ -488,7 +488,7 @@ POSIXThread::ThreadNotify(const ProcessMessage &message) unsigned POSIXThread::GetRegisterIndexFromOffset(unsigned offset) { - unsigned reg = 0; + unsigned reg = LLDB_INVALID_REGNUM; ArchSpec arch = Host::GetArchitecture(); switch (arch.GetCore())