Use LLDB_INVALID_REGNUM at Mike Sartain's suggestion

llvm-svn: 184342
This commit is contained in:
Andy Gibbs 2013-06-19 20:04:56 +00:00
parent 145eb97d3a
commit 897f50c5ba
1 changed files with 1 additions and 1 deletions

View File

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