From 97f13c98e7306882f013ab2f6524e483ce1dcceb Mon Sep 17 00:00:00 2001 From: Tim Newsome Date: Wed, 1 Nov 2017 12:19:16 -0700 Subject: [PATCH] Test register aliases in the simple register tests --- debug/gdbserver.py | 26 +++++++++++++++++--------- 1 file changed, 17 insertions(+), 9 deletions(-) diff --git a/debug/gdbserver.py b/debug/gdbserver.py index 4d8d99a..eabf445 100755 --- a/debug/gdbserver.py +++ b/debug/gdbserver.py @@ -65,15 +65,19 @@ def readable_binary_string(s): return "".join("%02x" % ord(c) for c in s) class SimpleRegisterTest(GdbTest): - def check_reg(self, name): + def check_reg(self, name, alias): a = random.randrange(1<