diff options
| author | Andy Gibbs <andyg1001@hotmail.co.uk> | 2013-06-19 20:04:56 +0000 |
|---|---|---|
| committer | Andy Gibbs <andyg1001@hotmail.co.uk> | 2013-06-19 20:04:56 +0000 |
| commit | 897f50c5ba6469ee4941987ad704376b66be41ca (patch) | |
| tree | 61c46c221567c03a8ab46a8a369f066d4015d885 | |
| parent | 145eb97d3a8a1f2766a891003c659483dcf15681 (diff) | |
| download | bcm5719-llvm-897f50c5ba6469ee4941987ad704376b66be41ca.tar.gz bcm5719-llvm-897f50c5ba6469ee4941987ad704376b66be41ca.zip | |
Use LLDB_INVALID_REGNUM at Mike Sartain's suggestion
llvm-svn: 184342
| -rw-r--r-- | lldb/source/Plugins/Process/POSIX/POSIXThread.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Plugins/Process/POSIX/POSIXThread.cpp b/lldb/source/Plugins/Process/POSIX/POSIXThread.cpp index dc024f8db0b..09f0525c63a 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()) |

