[Lldb-commits] [lldb] r122842 - /lldb/trunk/source/Plugins/Process/Linux/RegisterContextLinux_x86_64.cpp

Stephen Wilson wilsons at start.ca
Tue Jan 4 13:46:35 PST 2011


Author: wilsons
Date: Tue Jan  4 15:46:35 2011
New Revision: 122842

URL: http://llvm.org/viewvc/llvm-project?rev=122842&view=rev
Log:
Fix typo (presumably carried over from the MacOSX plugin).


Modified:
    lldb/trunk/source/Plugins/Process/Linux/RegisterContextLinux_x86_64.cpp

Modified: lldb/trunk/source/Plugins/Process/Linux/RegisterContextLinux_x86_64.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Process/Linux/RegisterContextLinux_x86_64.cpp?rev=122842&r1=122841&r2=122842&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Process/Linux/RegisterContextLinux_x86_64.cpp (original)
+++ lldb/trunk/source/Plugins/Process/Linux/RegisterContextLinux_x86_64.cpp Tue Jan  4 15:46:35 2011
@@ -644,7 +644,7 @@
     }
     else if (kind == eRegisterKindLLDB)
     {
-        return reg;
+        return num;
     }
 
     return LLDB_INVALID_REGNUM;





More information about the lldb-commits mailing list