From 00e94a9b4aacbe614004311605d92157359742dc Mon Sep 17 00:00:00 2001 From: Disconnect3d Date: Tue, 14 Sep 2021 01:11:22 +0200 Subject: [PATCH] Fix unprinted 'Unknown register' context warning --- pwndbg/commands/context.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pwndbg/commands/context.py b/pwndbg/commands/context.py index acb031cb7..caa2b9802 100644 --- a/pwndbg/commands/context.py +++ b/pwndbg/commands/context.py @@ -386,7 +386,7 @@ def get_regs(*regs): continue if reg not in pwndbg.regs: - message.warn("Unknown register: %r" % reg) + print(message.warn("Unknown register: %r" % reg)) continue value = pwndbg.regs[reg]