This commit is contained in:
Giacomo Tesio 2018-11-20 21:15:38 +01:00
commit 2dfb75949a
1 changed files with 6 additions and 1 deletions

View File

@ -27,7 +27,12 @@ define jhn-print-with-context
end end
define jhn-log-syscalls define jhn-log-syscalls
if $argc == 0
b syscall b syscall
end
if $argc == 1
b syscall if up != 0 && $_streq(up->text, $arg0)
end
commands commands
jhn-print-with-context " pc = 0x%x " ureg->ip jhn-print-with-context " pc = 0x%x " ureg->ip
c c