ksyscalls: mark syscalls done by note handler with !

This commit is contained in:
Giacomo Tesio 2017-11-24 23:12:51 +01:00
parent 7baa50dd83
commit 171be01bc5

View File

@ -292,6 +292,8 @@ enter_{{ .Name }}(Fmt* fmt, Ureg* ureg)
{{ end }}
{{ .CommonCode }}
jehanne_fmtprint(fmt, "{{ .Name }} %#p >", ureg->ip);
if(up->notified)
jehanne_fmtprint(fmt, "!");
{{ .EntryPrint }}
jehanne_fmtprint(fmt, "\n");
}
@ -321,6 +323,8 @@ static void
exit_{{ .Name }}(Fmt* fmt, Ureg* ureg, ScRet* ret)
{
jehanne_fmtprint(fmt, "{{ .Name }} %#p <", ureg->ip);
if(up->notified)
jehanne_fmtprint(fmt, "!");
{{ .ExitPrint }}
}
{{ end }}