Skip to content

Commit

Permalink
3.5
Browse files Browse the repository at this point in the history
  • Loading branch information
yuhuang-cst committed Feb 29, 2016
1 parent 19de02c commit dc35f9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 02-1-spoc/3.5/anwser.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ tf->tf_regs.reg_eax = syscalls[num](arg);


4. 以ucore lab8的answer为例,尝试修改并运行ucore OS kernel代码,使其具有类似Linux应用工具`strace`的功能,即能够显示出应用程序发出的系统调用,从而可以分析ucore应用的系统调用执行过程。

在内核态的syscall函数中(kern/syscall.c)使用cprinf输出调用号(num)即可



Expand Down

0 comments on commit dc35f9b

Please sign in to comment.