Alias windbg "u" to "nearpc" instead of "x/i"

pull/89/head
Zach Riggle 10 years ago
parent 424da93c40
commit 2072c06137

@ -281,8 +281,7 @@ def u(where=None, n=5):
"""
if where is None:
where = pwndbg.regs.pc
cmd = 'x/%ii %#x' % (int(n), int(where))
gdb.execute(cmd)
pwndbg.commands.nearpc(where, n)
@pwndbg.commands.Command
@pwndbg.commands.OnlyWhenRunning

Loading…
Cancel
Save