Change the GDBRemoteRegisterContext::AddRegister function to take
its RegisterInfo argument by value instead of using a reference -
it will modify the object and modifying the contents of the
g_register_infos table in GDBRemoteRegisterContext.cpp can cause a
crash the next time we step through it.
llvm-svn: 173406
}
void
- AddRegister (lldb_private::RegisterInfo ®_info,
+ AddRegister (lldb_private::RegisterInfo reg_info,
lldb_private::ConstString ®_name,
lldb_private::ConstString ®_alt_name,
lldb_private::ConstString &set_name)