From e2a2222d53ae03da19e6f7cbcffb2438bfe4b7d2 Mon Sep 17 00:00:00 2001 From: Greg Clayton Date: Fri, 25 Jan 2013 19:40:54 +0000 Subject: [PATCH] Fix buildbot building errors. llvm-svn: 173473 --- lldb/source/Plugins/Process/POSIX/RegisterContext_i386.cpp | 4 ++-- lldb/source/Plugins/Process/POSIX/RegisterContext_i386.h | 4 ++-- lldb/source/Plugins/Process/POSIX/RegisterContext_x86_64.cpp | 4 ++-- lldb/source/Plugins/Process/POSIX/RegisterContext_x86_64.h | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/lldb/source/Plugins/Process/POSIX/RegisterContext_i386.cpp b/lldb/source/Plugins/Process/POSIX/RegisterContext_i386.cpp index 1bc7a84..db598b4 100644 --- a/lldb/source/Plugins/Process/POSIX/RegisterContext_i386.cpp +++ b/lldb/source/Plugins/Process/POSIX/RegisterContext_i386.cpp @@ -387,7 +387,7 @@ RegisterContext_i386::GetRegisterCount() } const RegisterInfo * -RegisterContext_i386::GetRegisterInfoAtIndex(uint32_t reg) +RegisterContext_i386::GetRegisterInfoAtIndex(size_t reg) { assert(k_num_register_infos == k_num_registers); if (reg < k_num_registers) @@ -403,7 +403,7 @@ RegisterContext_i386::GetRegisterSetCount() } const RegisterSet * -RegisterContext_i386::GetRegisterSet(uint32_t set) +RegisterContext_i386::GetRegisterSet(size_t set) { if (set < k_num_register_sets) return &g_reg_sets[set]; diff --git a/lldb/source/Plugins/Process/POSIX/RegisterContext_i386.h b/lldb/source/Plugins/Process/POSIX/RegisterContext_i386.h index 1586501..d81ca02 100644 --- a/lldb/source/Plugins/Process/POSIX/RegisterContext_i386.h +++ b/lldb/source/Plugins/Process/POSIX/RegisterContext_i386.h @@ -35,13 +35,13 @@ public: GetRegisterCount(); const lldb_private::RegisterInfo * - GetRegisterInfoAtIndex(uint32_t reg); + GetRegisterInfoAtIndex(size_t reg); size_t GetRegisterSetCount(); const lldb_private::RegisterSet * - GetRegisterSet(uint32_t set); + GetRegisterSet(size_t set); static unsigned GetRegisterIndexFromOffset(unsigned offset); diff --git a/lldb/source/Plugins/Process/POSIX/RegisterContext_x86_64.cpp b/lldb/source/Plugins/Process/POSIX/RegisterContext_x86_64.cpp index 6a84dd5..91ffe86 100644 --- a/lldb/source/Plugins/Process/POSIX/RegisterContext_x86_64.cpp +++ b/lldb/source/Plugins/Process/POSIX/RegisterContext_x86_64.cpp @@ -457,7 +457,7 @@ RegisterContext_x86_64::GetRegisterCount() } const RegisterInfo * -RegisterContext_x86_64::GetRegisterInfoAtIndex(uint32_t reg) +RegisterContext_x86_64::GetRegisterInfoAtIndex(size_t reg) { if (reg < k_num_registers) return &g_register_infos[reg]; @@ -472,7 +472,7 @@ RegisterContext_x86_64::GetRegisterSetCount() } const RegisterSet * -RegisterContext_x86_64::GetRegisterSet(uint32_t set) +RegisterContext_x86_64::GetRegisterSet(size_t set) { if (set < k_num_register_sets) return &g_reg_sets[set]; diff --git a/lldb/source/Plugins/Process/POSIX/RegisterContext_x86_64.h b/lldb/source/Plugins/Process/POSIX/RegisterContext_x86_64.h index 56a1843..8b35ff4 100644 --- a/lldb/source/Plugins/Process/POSIX/RegisterContext_x86_64.h +++ b/lldb/source/Plugins/Process/POSIX/RegisterContext_x86_64.h @@ -42,13 +42,13 @@ public: GetRegisterCount(); const lldb_private::RegisterInfo * - GetRegisterInfoAtIndex(uint32_t reg); + GetRegisterInfoAtIndex(size_t reg); size_t GetRegisterSetCount(); const lldb_private::RegisterSet * - GetRegisterSet(uint32_t set); + GetRegisterSet(size_t set); static unsigned GetRegisterIndexFromOffset(unsigned offset); -- 2.7.4