Author: sas Date: Fri Nov 14 03:46:21 2014 New Revision: 221980 URL: http://llvm.org/viewvc/llvm-project?rev=221980&view=rev Log: Properly specify the regex used to match register indexes.
Summary: Something like "core:1" would match and try to be interpreted by the following code otherwise. Test Plan: Run tests and make sure the ones failing previously now pass. Reviewers: tfiala, clayborg Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D6257 Modified: lldb/trunk/test/tools/lldb-gdbserver/gdbremote_testcase.py Modified: lldb/trunk/test/tools/lldb-gdbserver/gdbremote_testcase.py URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/tools/lldb-gdbserver/gdbremote_testcase.py?rev=221980&r1=221979&r2=221980&view=diff ============================================================================== --- lldb/trunk/test/tools/lldb-gdbserver/gdbremote_testcase.py (original) +++ lldb/trunk/test/tools/lldb-gdbserver/gdbremote_testcase.py Fri Nov 14 03:46:21 2014 @@ -734,7 +734,7 @@ class GdbRemoteTestCaseBase(TestBase): registers = {} for (key, val) in kv_dict.items(): - if re.match(r"^[0-9a-fA-F]+", key): + if re.match(r"^[0-9a-fA-F]+$", key): registers[int(key, 16)] = val return registers _______________________________________________ lldb-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/lldb-commits
