[Lldb-commits] [PATCH 9/9] Fix typo (presumably carried over from the MacOSX plugin).
Stephen Wilson
wilsons at start.ca
Tue Jan 4 12:54:17 PST 2011
---
.../Process/Linux/RegisterContextLinux_x86_64.cpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/source/Plugins/Process/Linux/RegisterContextLinux_x86_64.cpp b/source/Plugins/Process/Linux/RegisterContextLinux_x86_64.cpp
index 8994e77..4c78a25 100644
--- a/source/Plugins/Process/Linux/RegisterContextLinux_x86_64.cpp
+++ b/source/Plugins/Process/Linux/RegisterContextLinux_x86_64.cpp
@@ -644,7 +644,7 @@ RegisterContextLinux_x86_64::ConvertRegisterKindToRegisterNumber(uint32_t kind,
}
else if (kind == eRegisterKindLLDB)
{
- return reg;
+ return num;
}
return LLDB_INVALID_REGNUM;
--
1.7.3.2
More information about the lldb-commits
mailing list