<rdar://problem/13072285>
authorJason Molenda <jmolenda@apple.com>
Fri, 25 Jan 2013 01:05:30 +0000 (01:05 +0000)
committerJason Molenda <jmolenda@apple.com>
Fri, 25 Jan 2013 01:05:30 +0000 (01:05 +0000)
commita71919c9d6e989fb183f69729510da0152e1572b
tree5e847f0f9f544a31609240db44c5e0c4124ee7be
parente060e57bf74681939ffab90ff743ab8594a8b866
<rdar://problem/13072285>

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
lldb/source/Plugins/Process/gdb-remote/GDBRemoteRegisterContext.h