[Lldb-commits] [lldb] r198742 - Fixes a bug preventing reading of the python register file.
Todd Fiala
tfiala at google.com
Tue Jan 7 23:52:40 PST 2014
Author: tfiala
Date: Wed Jan 8 01:52:40 2014
New Revision: 198742
URL: http://llvm.org/viewvc/llvm-project?rev=198742&view=rev
Log:
Fixes a bug preventing reading of the python register file.
This change fixes a bug recently introduced in ProcessGDBRemote that
prevented the Python register definition file from getting loaded when
the qRegisterInfo0 response returned $00#.
Patch by Steve Pucci.
Modified:
lldb/trunk/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
Modified: lldb/trunk/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp?rev=198742&r1=198741&r2=198742&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp (original)
+++ lldb/trunk/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp Wed Jan 8 01:52:40 2014
@@ -509,6 +509,10 @@ ProcessGDBRemote::BuildDynamicRegisterIn
m_register_info.AddRegister(reg_info, reg_name, alt_name, set_name);
}
+ else
+ {
+ break; // ensure exit before reg_num is incremented
+ }
}
else
{
More information about the lldb-commits
mailing list