Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

用gdb+qemu调试启动,但是在main函数里的pause后卡住了,why #5

Open
WilliamCoding opened this issue Nov 26, 2016 · 2 comments

Comments

@WilliamCoding
Copy link

我用gdb qemu调试启动后,但是在main函数里task0创建task1后执行pause后卡住了,怎么办?

@WilliamCoding
Copy link
Author

我发现调试时系统调用的_syscall0这个宏,没法在源码中展开,怎么办?有办法不用自己修改源码,自动展开一行一行执行吗?

@WilliamCoding
Copy link
Author

还有一个问题是qemu已启动就执行到了startup_32处,没法在0x7c00处设置断点。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant