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]