From fb04a8de58a593029c55ac2dc433b7402cf6489a Mon Sep 17 00:00:00 2001 From: Tim Newsome Date: Mon, 15 Aug 2016 10:28:01 -0700 Subject: [PATCH] Add --32 and --64 options to gdbserver.py. --- debug/gdbserver.py | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) diff --git a/debug/gdbserver.py b/debug/gdbserver.py index 263dbd6..d7527a2 100755 --- a/debug/gdbserver.py +++ b/debug/gdbserver.py @@ -389,8 +389,8 @@ class RegsTest(DeleteServer): self.gdb.p("$pc=write_regs") for i, r in enumerate(regs): - self.gdb.command("p $%s=%d" % (r, (0xdeadbeef<