[Lldb-commits] [lldb] r184342 - Use LLDB_INVALID_REGNUM at Mike Sartain's suggestion
Andy Gibbs
andyg1001 at hotmail.co.uk
Wed Jun 19 13:04:57 PDT 2013
Author: andyg
Date: Wed Jun 19 15:04:56 2013
New Revision: 184342
URL: http://llvm.org/viewvc/llvm-project?rev=184342&view=rev
Log:
Use LLDB_INVALID_REGNUM at Mike Sartain's suggestion
Modified:
lldb/trunk/source/Plugins/Process/POSIX/POSIXThread.cpp
Modified: lldb/trunk/source/Plugins/Process/POSIX/POSIXThread.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Process/POSIX/POSIXThread.cpp?rev=184342&r1=184341&r2=184342&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Process/POSIX/POSIXThread.cpp (original)
+++ lldb/trunk/source/Plugins/Process/POSIX/POSIXThread.cpp Wed Jun 19 15:04:56 2013
@@ -488,7 +488,7 @@ POSIXThread::ThreadNotify(const ProcessM
unsigned
POSIXThread::GetRegisterIndexFromOffset(unsigned offset)
{
- unsigned reg = 0;
+ unsigned reg = LLDB_INVALID_REGNUM;
ArchSpec arch = Host::GetArchitecture();
switch (arch.GetCore())
More information about the lldb-commits
mailing list